From 0374762bdea1003d39c7157ec6d2980048689e1c Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 22 Jun 2024 11:39:56 +0200 Subject: [PATCH] fiix pacman hooks --- pacman.d/hooks/blackbox-shortcut.hook | 4 ++-- pacman.d/hooks/gnome-terminal-shortcut.hook | 4 ++-- pacman.d/hooks/honkai-shortcut.hook | 4 ++-- pacman.d/hooks/vesktop.hook | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/pacman.d/hooks/blackbox-shortcut.hook b/pacman.d/hooks/blackbox-shortcut.hook index 519ce71..2b92884 100644 --- a/pacman.d/hooks/blackbox-shortcut.hook +++ b/pacman.d/hooks/blackbox-shortcut.hook @@ -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' diff --git a/pacman.d/hooks/gnome-terminal-shortcut.hook b/pacman.d/hooks/gnome-terminal-shortcut.hook index 01ccaaa..82dfdc1 100644 --- a/pacman.d/hooks/gnome-terminal-shortcut.hook +++ b/pacman.d/hooks/gnome-terminal-shortcut.hook @@ -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' diff --git a/pacman.d/hooks/honkai-shortcut.hook b/pacman.d/hooks/honkai-shortcut.hook index 9315cf0..2df5561 100644 --- a/pacman.d/hooks/honkai-shortcut.hook +++ b/pacman.d/hooks/honkai-shortcut.hook @@ -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' diff --git a/pacman.d/hooks/vesktop.hook b/pacman.d/hooks/vesktop.hook index 279f746..dff3479 100644 --- a/pacman.d/hooks/vesktop.hook +++ b/pacman.d/hooks/vesktop.hook @@ -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'