mirror of
https://github.com/billz/raspap-webgui.git
synced 2025-07-08 23:07:40 +02:00
Set default repo at top of _main()
This commit is contained in:
parent
bd0b226f61
commit
41ce72775e
@ -82,15 +82,16 @@ EOF
|
|||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
function _main() {
|
function _main() {
|
||||||
|
# set defaults
|
||||||
|
repo="RaspAP/raspap-webgui" # override with -r, --repo option
|
||||||
|
repo_common="$repo"
|
||||||
|
|
||||||
_parse_params "$@"
|
_parse_params "$@"
|
||||||
_setup_colors
|
_setup_colors
|
||||||
if [ "${check}" == 1 ]; then
|
if [ "${check}" == 1 ]; then
|
||||||
_check_internet
|
_check_internet
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set defaults
|
|
||||||
repo="RaspAP/raspap-webgui" # override with -r, --repo option
|
|
||||||
repo_common="$repo"
|
|
||||||
_log_output
|
_log_output
|
||||||
_load_installer
|
_load_installer
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user