From c93a8b16ef4906c26713363ca6ed12a0bead5849 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 20 May 2024 22:12:00 +0200 Subject: [PATCH] fix hooks download --- Makefile | 6 +++--- arch.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index fc9a366..feb1b5e 100644 --- a/Makefile +++ b/Makefile @@ -155,9 +155,9 @@ sync-arch: # Pacman hooks @sudo $(MKDIR) /etc/pacman.d/hooks - @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/stop-wine-associations.hook -P /etc/pacman.d/hooks/ - @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/gnome-terminal-shortcut.hook -P /etc/pacman.d/hooks/ - @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/blackbox-shortcut.hook -P /etc/pacman.d/hooks/ + @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/stop-wine-associations.hook -O /etc/pacman.d/hooks/stop-wine-associations.hook + @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/gnome-terminal-shortcut.hook -O /etc/pacman.d/hooks/gnome-terminal-shortcut.hook + @sudo $(WGET) $(REPO_SRC)/pacman.d/hooks/blackbox-shortcut.hook -O /etc/pacman.d/hooks/blackbox-shortcut.hook @echo "Pacman hooks synced!" @echo diff --git a/arch.sh b/arch.sh index 08eac8e..743ec2a 100644 --- a/arch.sh +++ b/arch.sh @@ -40,7 +40,7 @@ function main { hooks=("stop-wine-associations" "gnome-terminal-shortcut" "blackbox-shortcut") for hook in "${hooks[@]}" do - sudo wget -q --show-progress ${repo}/pacman.d/hooks/"$hook".hook -P /etc/pacman.d/hooks/ + sudo wget -q --show-progress ${repo}/pacman.d/hooks/"$hook".hook -O /etc/pacman.d/hooks/"$hook".hook done