1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00

Merge pull request #1335 from ldevillez/master

missing = in install script
This commit is contained in:
Bill Zimmerman 2023-04-06 14:02:08 +00:00 committed by GitHub
commit b70bce0d7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,7 +96,7 @@ function _parse_params() {
upgrade=1 upgrade=1
;; ;;
-i|--insiders) -i|--insiders)
insiders=1 insiders=1
;; ;;
-m|--minwrite) -m|--minwrite)
minwrite=1 minwrite=1
@ -278,7 +278,7 @@ function _load_installer() {
_install_minwrite || _install_status 1 "Unable to execute minimal write install" _install_minwrite || _install_status 1 "Unable to execute minimal write install"
elif [ "${uninstall}" = 1 ]; then elif [ "${uninstall}" = 1 ]; then
source="uninstall" source="uninstall"
component"Uninstall" component="Uninstall"
wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh
source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh source /tmp/raspap_${source}.sh && rm -f /tmp/raspap_${source}.sh
_remove_raspap || _install_status 1 "Unable to uninstall RaspAP" _remove_raspap || _install_status 1 "Unable to uninstall RaspAP"
@ -292,4 +292,3 @@ function _load_installer() {
} }
_main "$@" _main "$@"