mirror of
				https://github.com/the-sane/lug-helper.git
				synced 2025-11-04 08:03:32 +00:00 
			
		
		
		
	added info message when no shaders directory is found
This commit is contained in:
		@@ -1523,7 +1523,11 @@ rm_shaders() {
 | 
			
		||||
                    rm -r "${appdata_items[i]}/shaders"
 | 
			
		||||
                    message info "Your shaders have been deleted!"
 | 
			
		||||
                fi
 | 
			
		||||
            elif [[ $i = $(( ${#appdata_items[@]} - 1 )) ]]; then # display message when end of array is reached and no shaders directories were found
 | 
			
		||||
                message info "No more shader directories found"
 | 
			
		||||
            fi
 | 
			
		||||
        elif [[ $i = $(( ${#appdata_items[@]} - 1 )) ]]; then # display message when end of array is reached and no shaders or sc-alpha directories were found
 | 
			
		||||
                message info "No more shader directories found"
 | 
			
		||||
        fi
 | 
			
		||||
    done
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user