mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Fix: Update raspap_latest to non-readonly
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user