CC-3151: "airtime-install -r" doesnt work anymore

-fixed
This commit is contained in:
Martin Konecny 2011-12-02 13:51:57 -05:00
parent 12a9263193
commit c6ba79bc36
1 changed files with 2 additions and 3 deletions

View File

@ -30,7 +30,7 @@ showhelp () {
overwrite="f" overwrite="f"
preserve="f" preserve="f"
nodb="t" nodb="f"
reinstall="f" reinstall="f"
mediamonitor="f" mediamonitor="f"
pypo="f" pypo="f"
@ -64,7 +64,6 @@ if [ "$mediamonitor" = "f" -a "$pypo" = "f" -a "$showrecorder" = "f" -a "$web" =
pypo="t" pypo="t"
showrecorder="t" showrecorder="t"
web="t" web="t"
nodb="f"
fi fi
# Absolute path to this script, e.g. /home/user/bin/foo.sh # Absolute path to this script, e.g. /home/user/bin/foo.sh
@ -83,7 +82,7 @@ set -e
DO_UPGRADE="0" DO_UPGRADE="0"
if [ "$result" -eq "0" ]; then if [ "$result" -eq "0" ]; then
echo " * None found." echo " * None found."
elif [ "$result" -eq "1" ]; then elif [ "$result" -eq "1" -a "$reinstall" = "f" ]; then
echo " * Same version of Airtime already installed!" echo " * Same version of Airtime already installed!"
exit 1; exit 1;
elif [ "$result" -eq "2" ]; then elif [ "$result" -eq "2" ]; then