Which interpreter did you try in your local script? Doing
'#!/bin/sh
set -x
for app in base calc draw
do
App="${app^}"
sed -i \
-e
"s#Icon=libreoffice7.0-$app#Icon=/usr/share/icons/gnome/256x256/apps/libreoffice7.0-$app.png#"
\
-e "s#^Exec=libreoffice7.0 --\(.*\)#Exec=libreoffice.\1#g" \
-e
"/^Name=$App$/{$!{N;s/^Name=$App\nExec=libreoffice$/Name=$App\nExec=libreoffice.$app/;ty;P;D;:y}}"
\
/tmp/$app.desktop
done'
returns the same bad substitution error
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1902148
Title:
[snap] launchers in app's dock menu do launch general LO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1902148/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs