summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live7
1 files changed, 5 insertions, 2 deletions
diff --git a/hooks/live b/hooks/live
index 16a2d0c..d87bfe7 100755
--- 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