os/arch/install: sudo mkdir -p "$hookdest"

This commit is contained in:
Henrik Lissner 2016-12-24 16:19:23 -05:00
parent c7243f3db1
commit 976c7b0483

View file

@ -95,7 +95,7 @@ EOL
# FIXME Install pacman hooks
hookdest=/etc/pacman.d/hooks
mkdir -p "$hookdest"
sudo mkdir -p "$hookdest"
for hook in $PWD/$hookdest/*.hook; do
[[ -f $hookdest/${hook##*/} ]] || sudo ln -svf $hook $hookdest/
done