diff options
author | Daniel Baumann <daniel@debian.org> | 2010-07-17 16:18:53 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:53:27 +0100 |
commit | 5a34eddc176e4845e0e51b34520e229decdc1603 (patch) | |
tree | 53e980dbb45b5c28614bb752ac4be64fc77c3586 /hooks | |
parent | b50fd2adf5fa1f179e037db1c1410bdb37dbdfa6 (diff) | |
download | live-boot-5a34eddc176e4845e0e51b34520e229decdc1603.tar.gz live-boot-5a34eddc176e4845e0e51b34520e229decdc1603.zip |
Making inclusion of languagelist conditional in live hook.
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/live | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -27,8 +27,11 @@ esac # Handling live-boot # Configuration -mkdir -p "${DESTDIR}"/usr/share/live-boot -cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot +if [ -e /usr/share/live-boot/languagelist ] +then + mkdir -p "${DESTDIR}"/usr/share/live-boot + cp /usr/share/live-boot/languagelist "${DESTDIR}"/usr/share/live-boot +fi # Directories mkdir -p "${DESTDIR}"/lib/live-boot |