os/arch/install: sudo mkdir -p "$hookdest"
This commit is contained in:
parent
c7243f3db1
commit
976c7b0483
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue