summaryrefslogtreecommitdiffstats
path: root/liveinit.tpl
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2020-12-28 14:19:57 +0100
committer Eric Hameleers <alien@slackware.com>2020-12-28 14:19:57 +0100
commitd41455cd2d4138de3c42ed937067211574c6f3cb (patch)
treede5539db4225753e9dce66197328145968782c4d /liveinit.tpl
parent3e7ab1fb99382dd4952cf7b06fef18aa64ea04ed (diff)
downloadliveslak-d41455cd2d4138de3c42ed937067211574c6f3cb.tar.gz
liveslak-d41455cd2d4138de3c42ed937067211574c6f3cb.tar.xz
liveinit: fix a chown command
Diffstat (limited to 'liveinit.tpl')
-rw-r--r--liveinit.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/liveinit.tpl b/liveinit.tpl
index a0a767a..f3c7d0a 100644
--- a/liveinit.tpl
+++ b/liveinit.tpl
@@ -1301,7 +1301,7 @@ Xft.lcdfilter: lcddefault
Xft.rgba: rgb
Xft.autohint: 0
EOT
- chown ${LIVEUID}:users /mnt/overlay/home/${LIVEUID}/.Xresources
+ chroot /mnt/overlay/ chown ${LIVEUID}:users /home/${LIVEUID}/.Xresources
elif [ -f /mnt/overlay/etc/profile.d/freetype.sh ]; then
# Explicitly configure the non-default old v35 interpreter in freetype:
cat <<EOT >> /mnt/overlay/etc/profile.d/freetype.sh