mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	fix for shortcut presumption
This commit is contained in:
		
							parent
							
								
									87fea6c845
								
							
						
					
					
						commit
						2f8b14d2c7
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		
							
								
								
									
										5
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -954,7 +954,12 @@ function vm_boot() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function shortcut_create { | function shortcut_create { | ||||||
|  |   local dirname="${HOME}/.local/share/applications" | ||||||
|   local filename="${HOME}/.local/share/applications/${VMNAME}.desktop" |   local filename="${HOME}/.local/share/applications/${VMNAME}.desktop" | ||||||
|  | 
 | ||||||
|  |   if [ ! -d ${dirname} ]; then | ||||||
|  |     mkdir -p ${dirname} | ||||||
|  |   fi | ||||||
|   cat << EOF > "${filename}" |   cat << EOF > "${filename}" | ||||||
| [Desktop Entry] | [Desktop Entry] | ||||||
| Version=1.0 | Version=1.0 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue