CC-5022:
airtime-install -l doesn't take effect -option removed for now
This commit is contained in:
parent
8555f34beb
commit
01af1ff8fb
|
@ -17,8 +17,7 @@ showhelp () {
|
||||||
--reinstall|-r Force a fresh install of this Airtime Version
|
--reinstall|-r Force a fresh install of this Airtime Version
|
||||||
--media-monitor|-m Install only media-monitor
|
--media-monitor|-m Install only media-monitor
|
||||||
--pypo|-p Install only pypo and liquidsoap
|
--pypo|-p Install only pypo and liquidsoap
|
||||||
--web|-w Install only files for web-server
|
--web|-w Install only files for web-server"
|
||||||
--liquidsoap-keep-alive|-l Keep Liquidsoap alive when upgrading"
|
|
||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -30,7 +29,6 @@ mediamonitor="f"
|
||||||
pypo="f"
|
pypo="f"
|
||||||
showrecorder="f"
|
showrecorder="f"
|
||||||
web="f"
|
web="f"
|
||||||
liquidsoap_keep_alive="f"
|
|
||||||
disable_deb_check="f"
|
disable_deb_check="f"
|
||||||
|
|
||||||
set -- $(getopt -l help,overwrite,preserve,no-db,reinstall,media-monitor,pypo,web,liquidsoap-keep-alive,disable-deb-check "hopnrmywld" "$@")
|
set -- $(getopt -l help,overwrite,preserve,no-db,reinstall,media-monitor,pypo,web,liquidsoap-keep-alive,disable-deb-check "hopnrmywld" "$@")
|
||||||
|
@ -45,7 +43,6 @@ do
|
||||||
(-m|--media-monitor) mediamonitor="t";;
|
(-m|--media-monitor) mediamonitor="t";;
|
||||||
(-y|--pypo) pypo="t";;
|
(-y|--pypo) pypo="t";;
|
||||||
(-w|--web) web="t";;
|
(-w|--web) web="t";;
|
||||||
(-l|--liquidsoap-keep-alive) liquidsoap_keep_alive="t";;
|
|
||||||
(-d|--disable-deb-check) disable_deb_check="t";;
|
(-d|--disable-deb-check) disable_deb_check="t";;
|
||||||
|
|
||||||
(--) shift; break;;
|
(--) shift; break;;
|
||||||
|
@ -168,7 +165,6 @@ export reinstall
|
||||||
export nodb
|
export nodb
|
||||||
export overwrite
|
export overwrite
|
||||||
export preserve
|
export preserve
|
||||||
export liquidsoap_keep_alive
|
|
||||||
|
|
||||||
set +e
|
set +e
|
||||||
test "$mediamonitor" = "t" -o "$pypo" = "t"
|
test "$mediamonitor" = "t" -o "$pypo" = "t"
|
||||||
|
|
Loading…
Reference in New Issue