Browse Source

Fix syntax error in conditional

Fix a typo in the conditionals.  Not sure how I didn't notice these
before
master
Jeremy Katz 16 years ago committed by Harald Hoyer
parent
commit
a607b7d4b8
  1. 4
      modules.d/90dmsquash-live/dmsquash-live-root

4
modules.d/90dmsquash-live/dmsquash-live-root

@ -24,7 +24,7 @@ overlay=$(getarg overlay) @@ -24,7 +24,7 @@ overlay=$(getarg overlay)

# FIXME: we need to be able to hide the plymouth splash for the check really
[ -e $livedev ] & fs=$(blkid -s TYPE -o value $livedev)
if [ "$fs" == "iso9660" -o "$fs" = "udf" ]; then
if [ "$fs" = "iso9660" -o "$fs" = "udf" ]; then
check="yes"
fi
getarg check || check=""
@ -64,7 +64,7 @@ do_live_overlay() { @@ -64,7 +64,7 @@ do_live_overlay() {
pathspec=$( echo $overlay | sed -e 's/^.*://' )
fi

if [ -z "$pathspec" -o "$pathspec" == "auto" ]; then
if [ -z "$pathspec" -o "$pathspec" = "auto" ]; then
pathspec="/${live_dir}/overlay-$l-$u"
fi
devspec=$( echo $overlay | sed -e 's/:.*$//' )

Loading…
Cancel
Save