Fix: Update raspap_latest to non-readonly

This commit is contained in:
billz 2020-12-16 10:47:45 +00:00
parent 237d561090
commit 64ee7b4f3d
1 changed files with 1 additions and 1 deletions

View File

@ -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