From d7d1a8051c5e04c3a546f7443c0a910dcad1b579 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Fri, 11 Sep 2009 08:30:07 -0700 Subject: Invert test for livecd Need to check for livecd only if *not* doing union install. Repair of previous bugfix. --- scripts/install-system | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-system b/scripts/install-system index 53b654ed..105c90a6 100755 --- a/scripts/install-system +++ b/scripts/install-system @@ -1337,8 +1337,8 @@ if [ -z "$INSTALL_METHOD" ]; then fi # Unless doing union install, must be from live cd -if [ "$INSTALL_METHOD" == "union" -o "$INSTALL_METHOD" == "u" ] && - [ ! -d /live/image -o -w /live/image ] +if [ $INSTALL_METHOD != "union" -a $INSTALL_METHOD != "u" ] && + [ -w /live/image -o ! -d /live/image ] then echo "install-system can only be run from livecd" echo "(except if doing union install)" -- cgit v1.2.3