summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2015-12-23 23:38:54 +0100
committer Eric Hameleers <alien@slackware.com>2015-12-23 23:38:54 +0100
commit15f7191408d8e84dea2a1d7716f3a7ce0425d708 (patch)
tree54874848f78d72b3cc612e3041e5c657f6e12af1 /make_slackware_live.sh
parent7f42a14bd2262d00feff423594ef8b647236c8ff (diff)
downloadliveslak-15f7191408d8e84dea2a1d7716f3a7ce0425d708.tar.gz
liveslak-15f7191408d8e84dea2a1d7716f3a7ce0425d708.tar.xz
Copy our skeleton configuration correctly to the live user's $HOME.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/make_slackware_live.sh b/make_slackware_live.sh
index d2e9009..e38ff68 100755
--- a/make_slackware_live.sh
+++ b/make_slackware_live.sh
@@ -992,8 +992,12 @@ KWALLET_EOL
fi # End LIVEDE = PLASMA5
+# Give the live user a copy of our skeleton configuration:
+cd ${LIVE_ROOTDIR}/etc/skel/
+ find . -exec cp -a --parents "{}" ${LIVE_ROOTDIR}/home/live/ \;
+cd - 1>/dev/null
+
# Make sure that user 'live' owns her own files:
-find ${LIVE_ROOTDIR}/etc/skel/ -exec cp -a "{}" ${LIVE_ROOTDIR}/home/live/ \;
chroot ${LIVE_ROOTDIR} chown -R live:users home/live
echo "-- Tweaking system startup."