fix hooks download

This commit is contained in:
Mylloon 2024-05-20 22:12:00 +02:00
parent d4a3d8b211
commit c93a8b16ef
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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