From 65b28adb83dc31dca935547148ab9a76464d64c9 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 3 Nov 2016 00:59:20 +0100 Subject: [PATCH] os/arch/install: install pacman hooks and crontab --- os/arch/install | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/os/arch/install b/os/arch/install index a81a2991..3dc12ba6 100755 --- a/os/arch/install +++ b/os/arch/install @@ -57,3 +57,13 @@ $pacman ttf-dejavu ttf-inconsolata ttf-liberation ttf-ubuntu-font-family terminu # GTK theme aur '[[ -d /usr/share/themes/Arc-Dark ]]' gtk-theme-arc +# Install hooks +hookdest=/etc/pacman.d/hooks +for hook in $PWD/pacman-hooks/*.hook +do + [ -f $hookdest/$(basename "$hook") ] || ln -svf $hook $hookdest/ +done + +# Install crontab +$pacman cronie +[ -f $PWD/crontab ] && crontab $PWD/crontab