error message modified
This commit is contained in:
parent
ff6b2545ad
commit
1eeb40e3bb
|
@ -22,7 +22,7 @@ function main() {
|
||||||
#create new wine prefix for photoshop
|
#create new wine prefix for photoshop
|
||||||
rmdir_if_exist $WINE_PREFIX
|
rmdir_if_exist $WINE_PREFIX
|
||||||
|
|
||||||
#export necessary variable for wine 3.4
|
#export necessary variable for wine
|
||||||
export_var
|
export_var
|
||||||
|
|
||||||
#config wine prefix and install mono and gecko automatic
|
#config wine prefix and install mono and gecko automatic
|
||||||
|
|
|
@ -89,7 +89,7 @@ function launcher() {
|
||||||
local entry_icon="../images/AdobePhotoshop-icon.png"
|
local entry_icon="../images/AdobePhotoshop-icon.png"
|
||||||
local launch_icon="$launcher_dest/AdobePhotoshop-icon.png"
|
local launch_icon="$launcher_dest/AdobePhotoshop-icon.png"
|
||||||
|
|
||||||
cp "$entry_icon" "$launcher_dest"
|
cp "$entry_icon" "$launcher_dest" || error "can't copy icon image"
|
||||||
sed -i "s|photoshopicon|$launch_icon|g" "$desktop_entry_dest" || error "can't edit desktop entry"
|
sed -i "s|photoshopicon|$launch_icon|g" "$desktop_entry_dest" || error "can't edit desktop entry"
|
||||||
sed -i "s|photoshopicon|$launch_icon|g" "$launcher_dest/launcher.sh" || error "can't edit launcher script"
|
sed -i "s|photoshopicon|$launch_icon|g" "$launcher_dest/launcher.sh" || error "can't edit launcher script"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue