use absolute sed path, without sudo
This commit is contained in:
parent
51f66d3b72
commit
4b4ec13ded
4 changed files with 4 additions and 4 deletions
|
@ -7,4 +7,4 @@ Target = /usr/share/applications/com.raggesilver.BlackBox.desktop
|
||||||
[Action]
|
[Action]
|
||||||
Description = Update BlackBox desktop entry on package upgrade
|
Description = Update BlackBox desktop entry on package upgrade
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/sh -c 'sudo sed -i "s/Name\[fr\]=Boîte Noire/Name\[fr\]=Terminal/g" /usr/share/applications/com.raggesilver.BlackBox.desktop'
|
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name\[fr\]=Boîte Noire/Name\[fr\]=Terminal/g" /usr/share/applications/com.raggesilver.BlackBox.desktop'
|
||||||
|
|
|
@ -7,4 +7,4 @@ Target = /usr/share/applications/org.gnome.Terminal.desktop
|
||||||
[Action]
|
[Action]
|
||||||
Description = Update Gnome Terminal desktop entry on package upgrade
|
Description = Update Gnome Terminal desktop entry on package upgrade
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/sh -c 'sudo sed -i "s/Name\[fr\]=Terminal/Name\[fr\]=Gnome Terminal/g" /usr/share/applications/org.gnome.Terminal.desktop'
|
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name\[fr\]=Terminal/Name\[fr\]=Gnome Terminal/g" /usr/share/applications/org.gnome.Terminal.desktop'
|
||||||
|
|
|
@ -7,4 +7,4 @@ Target = /usr/share/applications/the-honkers-railway-launcher.desktop
|
||||||
[Action]
|
[Action]
|
||||||
Description = Update Honkai launcher desktop entry on package upgrade
|
Description = Update Honkai launcher desktop entry on package upgrade
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/sh -c 'sudo sed -i "s/Name=The Honkers Railway Launcher/Name=Honkai Star Rail/g" /usr/share/applications/the-honkers-railway-launcher.desktop'
|
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name=The Honkers Railway Launcher/Name=Honkai Star Rail/g" /usr/share/applications/the-honkers-railway-launcher.desktop'
|
||||||
|
|
|
@ -7,4 +7,4 @@ Target = /usr/share/applications/vesktop.desktop
|
||||||
[Action]
|
[Action]
|
||||||
Description = Update Vesktop desktop entry on package upgrade
|
Description = Update Vesktop desktop entry on package upgrade
|
||||||
When = PostTransaction
|
When = PostTransaction
|
||||||
Exec = /bin/sh -c 'sudo sed -i "s/Name=Vesktop/Name=Discord/g" /usr/share/applications/vesktop.desktop'
|
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name=Vesktop/Name=Discord/g" /usr/share/applications/vesktop.desktop'
|
||||||
|
|
Loading…
Reference in a new issue