Using /usr/share/live-boot instead of unreliable /usr/share/doc/live-boot in validate...
authorDaniel Baumann <daniel@debian.org>
Thu, 8 Sep 2011 14:21:19 +0000 (16:21 +0200)
committerDaniel Baumann <daniel@debian.org>
Thu, 8 Sep 2011 14:21:19 +0000 (16:21 +0200)
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