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

Merge from upstream master (insiders)

This commit is contained in:
billz 2021-04-22 08:12:44 +01:00
parent 6c6722ae88
commit 2032b27ad0

View File

@ -241,6 +241,10 @@ function _load_installer() {
fi
UPDATE_URL="https://raw.githubusercontent.com/$repo_common/$branch/"
header=()
if [[ ! -z "$acctoken" ]]; then
header=(--header "Authorization: token $acctoken")
fi
if [ "${install_cert:-}" = 1 ]; then
source="mkcert"
wget "${header[@]}" -q ${UPDATE_URL}installers/${source}.sh -O /tmp/raspap_${source}.sh