From 0844ff3799a55c37ad20547e65ae92fee37cb317 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Fri, 5 Mar 2021 20:04:57 +0100 Subject: [PATCH] Move pacman hooks in dotfiles --- configs.yml | 12 ++++++------ .../pacman_hooks}/borg_backup.hook | 0 .../pacman_hooks}/mirrorupgrade.hook | 0 .../pacman_hooks}/new_orphan.hook | 0 .../pacman_hooks}/paccache.hook | 0 {pacman_hooks => dotfiles/pacman_hooks}/pacdiff.hook | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename {pacman_hooks => dotfiles/pacman_hooks}/borg_backup.hook (100%) rename {pacman_hooks => dotfiles/pacman_hooks}/mirrorupgrade.hook (100%) rename {pacman_hooks => dotfiles/pacman_hooks}/new_orphan.hook (100%) rename {pacman_hooks => dotfiles/pacman_hooks}/paccache.hook (100%) rename {pacman_hooks => dotfiles/pacman_hooks}/pacdiff.hook (100%) diff --git a/configs.yml b/configs.yml index ca19940..866cce6 100644 --- a/configs.yml +++ b/configs.yml @@ -409,20 +409,20 @@ zsh: dest: ~/git_clones/zsh-syntax-highlighting branch: feature/redrawhook -pacman hooks: +pacman_hooks: - run: - sudo mkdir -p /etc/pacman.d/hooks - 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' ]]" - 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: - - 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: - - 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: - - 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: - install: diff --git a/pacman_hooks/borg_backup.hook b/dotfiles/pacman_hooks/borg_backup.hook similarity index 100% rename from pacman_hooks/borg_backup.hook rename to dotfiles/pacman_hooks/borg_backup.hook diff --git a/pacman_hooks/mirrorupgrade.hook b/dotfiles/pacman_hooks/mirrorupgrade.hook similarity index 100% rename from pacman_hooks/mirrorupgrade.hook rename to dotfiles/pacman_hooks/mirrorupgrade.hook diff --git a/pacman_hooks/new_orphan.hook b/dotfiles/pacman_hooks/new_orphan.hook similarity index 100% rename from pacman_hooks/new_orphan.hook rename to dotfiles/pacman_hooks/new_orphan.hook diff --git a/pacman_hooks/paccache.hook b/dotfiles/pacman_hooks/paccache.hook similarity index 100% rename from pacman_hooks/paccache.hook rename to dotfiles/pacman_hooks/paccache.hook diff --git a/pacman_hooks/pacdiff.hook b/dotfiles/pacman_hooks/pacdiff.hook similarity index 100% rename from pacman_hooks/pacdiff.hook rename to dotfiles/pacman_hooks/pacdiff.hook