[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'