From a11733812afd449f4f24e96247d76bc9457d70ea Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Sat, 13 Feb 2016 22:16:45 +0100 Subject: Allow other people to add their own custom skel*.txz archives. Anything matching ./skel/skel*.txz will be extracted into the Live ISO's "/etc/skel/" directory by the "make_slackware_live.sh" script. This allows other people to add application presets for the "live" user account. Feature request by Schmatzler for Cinelerra-CV. --- make_slackware_live.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/make_slackware_live.sh b/make_slackware_live.sh index 3b44a0d..5f4b30a 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1017,9 +1017,12 @@ echo "-- Configuring XFCE." # -------------------------------------------------------------------------- # # Prepare some XFCE defaults for the 'live' user and any new users. -# (don't show icons on the desktop for irrelevant stuff): +# (don't show icons on the desktop for irrelevant stuff). +# Also, allow other people to add their own custom skel*.txz archives: mkdir -p ${LIVE_ROOTDIR}/etc/skel/ -tar -xf ${LIVE_TOOLDIR}/skel/skel.txz -C ${LIVE_ROOTDIR}/etc/skel/ +for SKEL in ${LIVE_TOOLDIR}/skel/skel*.txz ; do + tar -xf ${SKEL} -C ${LIVE_ROOTDIR}/etc/skel/ +done # -------------------------------------------------------------------------- # echo "-- Configuring KDE4." -- cgit v1.2.3