1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2025-07-08 15:07:41 +02:00

Set default repo at top of _main()

This commit is contained in:
billz 2025-02-08 01:41:43 -08:00
parent bd0b226f61
commit 41ce72775e

View File

@ -82,15 +82,16 @@ EOF
set -eo pipefail
function _main() {
# set defaults
repo="RaspAP/raspap-webgui" # override with -r, --repo option
repo_common="$repo"
_parse_params "$@"
_setup_colors
if [ "${check}" == 1 ]; then
_check_internet
fi
# set defaults
repo="RaspAP/raspap-webgui" # override with -r, --repo option
repo_common="$repo"
_log_output
_load_installer
}