diff options
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 |
commit | a11733812afd449f4f24e96247d76bc9457d70ea (patch) | |
tree | d87672d3fcefa65d61ea27a70b301260207c628b | |
parent | 4d1a659543ab51f0b283a35a32cd81478efc2a6a (diff) | |
download | liveslak-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-x | make_slackware_live.sh | 7 |
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." |