diff --git a/installers/raspbian.sh b/installers/raspbian.sh index 67a77c96..d056062c 100755 --- a/installers/raspbian.sh +++ b/installers/raspbian.sh @@ -183,6 +183,7 @@ function _display_welcome() { function _get_release() { readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' ) if [ "$insiders" == 1 ]; then + repo="RaspAP/raspap-insiders" readonly RASPAP_INSIDERS_LATEST=$(curl -s "https://api.raspap.com/repos/RaspAP/raspap-insiders/releases/latest/" | grep -Po '"tag_name": "\K.*?(?=")' ) readonly RASPAP_RELEASE="${RASPAP_INSIDERS_LATEST} Insiders" else