fiix pacman hooks

This commit is contained in:
Mylloon 2024-06-22 11:39:56 +02:00
parent 4b4ec13ded
commit 0374762bde
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
4 changed files with 8 additions and 8 deletions

View file

@ -2,9 +2,9 @@
Operation = Install
Operation = Upgrade
Type = Path
Target = /usr/share/applications/com.raggesilver.BlackBox.desktop
Target = usr/share/applications/com.raggesilver.BlackBox.desktop
[Action]
Description = Update BlackBox desktop entry on package upgrade
Description = Update BlackBox desktop entry
When = PostTransaction
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'

View file

@ -2,9 +2,9 @@
Operation = Install
Operation = Upgrade
Type = Path
Target = /usr/share/applications/org.gnome.Terminal.desktop
Target = usr/share/applications/org.gnome.Terminal.desktop
[Action]
Description = Update Gnome Terminal desktop entry on package upgrade
Description = Update Gnome Terminal desktop entry
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name\[fr\]=Terminal/Name\[fr\]=Gnome Terminal/g" /usr/share/applications/org.gnome.Terminal.desktop'

View file

@ -2,9 +2,9 @@
Operation = Install
Operation = Upgrade
Type = Path
Target = /usr/share/applications/the-honkers-railway-launcher.desktop
Target = usr/share/applications/the-honkers-railway-launcher.desktop
[Action]
Description = Update Honkai launcher desktop entry on package upgrade
Description = Update Honkai launcher desktop entry
When = PostTransaction
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'

View file

@ -2,9 +2,9 @@
Operation = Install
Operation = Upgrade
Type = Path
Target = /usr/share/applications/vesktop.desktop
Target = usr/share/applications/vesktop.desktop
[Action]
Description = Update Vesktop desktop entry on package upgrade
Description = Update Vesktop desktop entry
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name=Vesktop/Name=Discord/g" /usr/share/applications/vesktop.desktop'