From: Daniel Baumann Date: Thu, 8 Sep 2011 14:21:19 +0000 (+0200) Subject: Using /usr/share/live-boot instead of unreliable /usr/share/doc/live-boot in validate... X-Git-Tag: debian/3.0_a21-1~1 X-Git-Url: http://git.grml.org/?a=commitdiff_plain;h=7ad53e42ddb949898e5ce30d0e158424f781aeaa;p=live-boot-grml.git Using /usr/share/live-boot instead of unreliable /usr/share/doc/live-boot in validateroot bootscript, stripped live systems may or may not carry /usr/share/doc. --- diff --git a/scripts/live-bottom/10validateroot b/scripts/live-bottom/10validateroot index 23eb900..d4d1620 100755 --- a/scripts/live-bottom/10validateroot +++ b/scripts/live-bottom/10validateroot @@ -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