move scripts dir to be consistent with other hooks

This commit is contained in:
James Barnett 2016-04-27 08:22:42 -05:00
parent 525f0602d9
commit be35509864
3 changed files with 3 additions and 3 deletions

View file

@ -27,4 +27,4 @@ Target = *
Description = snapper pre snapshot
Depends = snapper
When = PreTransaction
Exec = /usr/share/libalpm/hooks.bin/snap-pac pre
Exec = /usr/share/libalpm/scripts/snap-pac pre

View file

@ -22,7 +22,7 @@
# PKGBUILD that installs using "./install $pkgdir".
INSTALL_DIR=$1
SCRIPTS_DIR=$INSTALL_DIR/usr/share/libalpm/hooks.bin/
SCRIPTS_DIR=$INSTALL_DIR/usr/share/libalpm/scripts/
HOOKS_DIR=$INSTALL_DIR/usr/share/libalpm/hooks/
install -d $HOOKS_DIR
install -d $SCRIPTS_DIR

View file

@ -27,4 +27,4 @@ Target = *
Description = snapper post snapshot
Depends = snapper
When = PostTransaction
Exec = /usr/share/libalpm/hooks.bin/snap-pac post
Exec = /usr/share/libalpm/scripts/snap-pac post