confOS/pacman.d/hooks/blackbox-shortcut.hook
2024-05-22 09:59:25 +02:00

10 lines
363 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = /usr/share/applications/com.raggesilver.BlackBox.desktop
[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'