summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-02-13 22:16:45 +0100
committer Eric Hameleers <alien@slackware.com>2016-02-13 22:16:45 +0100
commita11733812afd449f4f24e96247d76bc9457d70ea (patch)
treed87672d3fcefa65d61ea27a70b301260207c628b /make_slackware_live.sh
parent4d1a659543ab51f0b283a35a32cd81478efc2a6a (diff)
downloadliveslak-a11733812afd449f4f24e96247d76bc9457d70ea.tar.gz
liveslak-a11733812afd449f4f24e96247d76bc9457d70ea.tar.xz
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.
Diffstat (limited to '')
-rwxr-xr-xmake_slackware_live.sh7
1 files 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."