From 64ee7b4f3d4d83f9dc0d105ac38a434449dd12c6 Mon Sep 17 00:00:00 2001 From: billz Date: Wed, 16 Dec 2020 10:47:45 +0000 Subject: [PATCH] Fix: Update raspap_latest to non-readonly --- installers/raspbian.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installers/raspbian.sh b/installers/raspbian.sh index b7948392..9e6c505f 100755 --- a/installers/raspbian.sh +++ b/installers/raspbian.sh @@ -167,7 +167,7 @@ function _display_welcome() { # Fetch latest release from GitHub API function _get_release() { - readonly RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' ) + RASPAP_LATEST=$(curl -s "https://api.github.com/repos/$repo/releases/latest" | grep -Po '"tag_name": "\K.*?(?=")' ) } # Outputs a RaspAP Install log line