escape [ and ]

This commit is contained in:
Mylloon 2024-05-20 22:17:17 +02:00
parent c93a8b16ef
commit 404baa4ba2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 2 additions and 2 deletions

View file

@ -7,4 +7,4 @@ Target = blackbox-terminal
[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 'sudo sed -i "s/Name\[fr\]=Boîte Noire/Name\[fr\]=Terminal/g" /usr/share/applications/com.raggesilver.BlackBox.desktop'

View file

@ -7,4 +7,4 @@ Target = gnome-terminal
[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 'sudo sed -i "s/Name\[fr\]=Terminal/Name\[fr\]=Gnome Terminal/g" /usr/share/applications/org.gnome.Terminal.desktop'