mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Fix: Update raspap_latest to non-readonly
This commit is contained in:
parent
237d561090
commit
64ee7b4f3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user