Fixed update function for looking for snap
This commit is contained in:
		
							parent
							
								
									182ac4902c
								
							
						
					
					
						commit
						60b73fffb7
					
				| @ -135,7 +135,7 @@ sudo -v | ||||
|    # if command -v snap >/dev/null; then | ||||
|    # echo "Updating Snaps..." | ||||
|    # sudo snap refresh | ||||
|     if [[ -f "/usr/local/bin/snap" ]];then | ||||
|     if [[ -f "/usr/bin/snapctl" ]];then | ||||
| 	    echo "Updating Snaps..." | ||||
| 	    sudo snap refresh | ||||
| 	else | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user