Move pacman hooks in dotfiles

This commit is contained in:
flyingscorpio@arch-desktop 2021-03-05 20:04:57 +01:00
parent f76f34ac4d
commit 0844ff3799
6 changed files with 6 additions and 6 deletions

View file

@ -409,20 +409,20 @@ zsh:
dest: ~/git_clones/zsh-syntax-highlighting dest: ~/git_clones/zsh-syntax-highlighting
branch: feature/redrawhook branch: feature/redrawhook
pacman hooks: pacman_hooks:
- run: - run:
- sudo mkdir -p /etc/pacman.d/hooks - sudo mkdir -p /etc/pacman.d/hooks
- run: - run:
command: sudo ln -rsi pacman_hooks/borg_backup.hook /etc/pacman.d/hooks/borg_backup.hook command: sudo ln -rsi dotfiles/pacman_hooks/borg_backup.hook /etc/pacman.d/hooks/borg_backup.hook
condition: "[[ $(uname -n) = 'arch-desktop' ]]" condition: "[[ $(uname -n) = 'arch-desktop' ]]"
- run: - run:
- sudo ln -rsi pacman_hooks/new_orphan.hook /etc/pacman.d/hooks/new_orphan.hook - sudo ln -rsi dotfiles/pacman_hooks/new_orphan.hook /etc/pacman.d/hooks/new_orphan.hook
- run: - run:
- sudo ln -rsi pacman_hooks/pacdiff.hook /etc/pacman.d/hooks/pacdiff.hook - sudo ln -rsi dotfiles/pacman_hooks/pacdiff.hook /etc/pacman.d/hooks/pacdiff.hook
- run: - run:
- sudo ln -rsi pacman_hooks/mirrorupgrade.hook /etc/pacman.d/hooks/mirrorupgrade.hook - sudo ln -rsi dotfiles/pacman_hooks/mirrorupgrade.hook /etc/pacman.d/hooks/mirrorupgrade.hook
- run: - run:
- sudo ln -rsi pacman_hooks/paccache.hook /etc/pacman.d/hooks/paccache.hook - sudo ln -rsi dotfiles/pacman_hooks/paccache.hook /etc/pacman.d/hooks/paccache.hook
latex: latex:
- install: - install: