diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:34 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:04:34 +0200 |
commit | a194193638c1dfa55164fa318b5c8ab8f735d746 (patch) | |
tree | 8c7815ffe9ab83e8de08696bfec37e9a3c2a4afe /FIXME | |
parent | d2b526b342cf6ababb1494dce5d4f6b30f3fb718 (diff) | |
download | live-build-a194193638c1dfa55164fa318b5c8ab8f735d746.zip live-build-a194193638c1dfa55164fa318b5c8ab8f735d746.tar.gz |
Adding live-package 0.99.11-1.
Diffstat (limited to 'FIXME')
-rw-r--r-- | FIXME | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +14chroot.sh + + # Add splashy and conditionally a theme + if [ ! -z "${LIVE_SPLASHY}" ] + then + chroots "apt-get install --yes splashy splashy-themes" + + if [ ! -z "${LIVE_SPLASHY_THEME}" ] + then + # not already installed ? Then its a new theme to install! + if [ ! -d "${LIVE_CHROOT}"/etc/splashy/themes/"${LIVE_SPLASHY_THEME}" ] + then + if [ -f "${LIVE_SPLASHY_THEME}".tar.gz ] + then + cp "${LIVE_SPLASHY_THEME}".tar.gz "${LIVE_CHROOT}"/tmp/"${LIVE_SPLASHY_THEME}".tar.gz # this permits simlink to theme + chroots "splashy_config -i /tmp/${LIVE_SPLASHY_THEME}.tar.gz" + rm "${LIVE_CHROOT}"/tmp/"${LIVE_SPLASHY_THEME}".tar.gz + chroots "splashy_config -s ${LIVE_SPLASHY_THEME}" + else + echo "Specify the local splashy theme without extension, it also must be in the cwd" + fi + else + chroots "splashy_config -s ${LIVE_SPLASHY_THEME}" + fi + fi + fi |