fix hooks download
This commit is contained in:
parent
d4a3d8b211
commit
c93a8b16ef
2 changed files with 4 additions and 4 deletions
6
Makefile
6
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
|
||||
|
||||
|
|
2
arch.sh
2
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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue