From 15f7191408d8e84dea2a1d7716f3a7ce0425d708 Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 23 Dec 2015 23:38:54 +0100 Subject: Copy our skeleton configuration correctly to the live user's $HOME. --- make_slackware_live.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'make_slackware_live.sh') 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." -- cgit v1.2.3