mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	add pattern for binary mode
This commit is contained in:
		@@ -854,9 +854,9 @@ function fetch_and_deploy_gh_release() {
 | 
			
		||||
    assets=$(echo "$json" | jq -r '.assets[].browser_download_url')
 | 
			
		||||
 | 
			
		||||
    # If explicit filename pattern is provided (param $6), match that first
 | 
			
		||||
    if [[ -n "$6" ]]; then
 | 
			
		||||
    if [[ -n "$asset_pattern" ]]; then
 | 
			
		||||
      for u in $assets; do
 | 
			
		||||
        [[ "$u" =~ $6 || "$u" == *"$6" ]] && url_match="$u" && break
 | 
			
		||||
        [[ "$u" =~ $asset_pattern || "$u" == *"$asset_pattern" ]] && url_match="$u" && break
 | 
			
		||||
      done
 | 
			
		||||
    fi
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user