confOS/pacman.d/hooks/blackbox-shortcut.hook
2024-05-20 22:03:52 +02:00

10 lines
323 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = blackbox-terminal
[Action]
Description = Update BlackBox desktop entry on package upgrade
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'