From c6ba79bc36b2bf1ef76af19d80b989fe044a789b Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Fri, 2 Dec 2011 13:51:57 -0500 Subject: [PATCH] CC-3151: "airtime-install -r" doesnt work anymore -fixed --- install_minimal/airtime-install | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install_minimal/airtime-install b/install_minimal/airtime-install index 8dbb49f55..a83734b77 100755 --- a/install_minimal/airtime-install +++ b/install_minimal/airtime-install @@ -30,7 +30,7 @@ showhelp () { overwrite="f" preserve="f" -nodb="t" +nodb="f" reinstall="f" mediamonitor="f" pypo="f" @@ -64,7 +64,6 @@ if [ "$mediamonitor" = "f" -a "$pypo" = "f" -a "$showrecorder" = "f" -a "$web" = pypo="t" showrecorder="t" web="t" - nodb="f" fi # Absolute path to this script, e.g. /home/user/bin/foo.sh @@ -83,7 +82,7 @@ set -e DO_UPGRADE="0" if [ "$result" -eq "0" ]; then echo " * None found." -elif [ "$result" -eq "1" ]; then +elif [ "$result" -eq "1" -a "$reinstall" = "f" ]; then echo " * Same version of Airtime already installed!" exit 1; elif [ "$result" -eq "2" ]; then