confOS/pacman.d/hooks/gnome-terminal-shortcut.hook

10 lines
322 B
Text

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