mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Use correct path for shortcut deletions
This commit is contained in:
		
							parent
							
								
									eac94b6a6f
								
							
						
					
					
						commit
						36f6c782ec
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -21,7 +21,7 @@ function disk_delete() { | ||||||
|   fi |   fi | ||||||
|   local VMNAME="" |   local VMNAME="" | ||||||
|   VMNAME=$(basename "${VM}" .conf) |   VMNAME=$(basename "${VM}" .conf) | ||||||
|   local SHORTCUT_DIR="/home/${USER}/.local/share/applications/" |   local SHORTCUT_DIR="${HOME}/.local/share/applications/" | ||||||
|   if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then |   if [ -e "${SHORTCUT_DIR}/${VMNAME}.desktop" ]; then | ||||||
|     rm -v "${SHORTCUT_DIR}/${VMNAME}.desktop" |     rm -v "${SHORTCUT_DIR}/${VMNAME}.desktop" | ||||||
|     echo "Deleted ${VM} desktop shortcut" |     echo "Deleted ${VM} desktop shortcut" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue