Dropping conditionals in backend, stuff is either there or not but not nothing in...
authorDaniel Baumann <daniel@debian.org>
Fri, 1 Mar 2013 09:45:44 +0000 (10:45 +0100)
committerDaniel Baumann <mail@daniel-baumann.ch>
Mon, 6 May 2013 11:54:16 +0000 (13:54 +0200)
backends/dracut/live.script
backends/initramfs-tools/live.script

index 270fce9..2f29e70 100755 (executable)
@@ -2,10 +2,7 @@
 
 #set -e
 
-if [ -e /lib/live/boot.sh ]
-then
-       . /lib/live/boot.sh
-fi
+. /lib/live/boot.sh
 
 DRACUT_FIXME ()
 {
index 7f99cc3..1c6ebbf 100755 (executable)
@@ -2,15 +2,9 @@
 
 #set -e
 
-if [ -e /lib/live/boot.sh ]
-then
-       . /lib/live/boot.sh
-fi
+. /lib/live/boot.sh
 
-if [ -e /scripts/functions ]
-then
-       . /scripts/functions
-fi
+. /scripts/functions
 
 mountroot ()
 {