projects
/
live-boot-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c22630
)
Making inclusion of languagelist conditional in live hook.
author
Daniel Baumann
<daniel@debian.org>
Sat, 17 Jul 2010 14:18:53 +0000
(16:18 +0200)
committer
Daniel Baumann
<daniel@debian.org>
Sat, 17 Jul 2010 14:18:53 +0000
(16:18 +0200)
hooks/live
patch
|
blob
|
history
diff --git
a/hooks/live
b/hooks/live
index
16a2d0c
..
d87bfe7
100755
(executable)
--- a/
hooks/live
+++ b/
hooks/live
@@
-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