Using /usr/share/live-boot instead of unreliable /usr/share/doc/live-boot in validate...
[live-boot-grml.git] / scripts / live-bottom / 10validateroot
index 23eb900..d4d1620 100755 (executable)
@@ -7,7 +7,7 @@
 # initramfs-tools header
 
 PREREQ=""
+
 prereqs()
 {
        echo "${PREREQ}"
@@ -23,7 +23,7 @@ esac
 . /scripts/live-functions
 . /scripts/live-helpers
 
-if ! [ -d "/root/usr/share/doc/live-boot" ]
+if ! [ -d "/root/usr/share/live-boot" ]
 then
        panic "A wrong rootfs was mounted."
 fi