move scripts dir to be consistent with other hooks
This commit is contained in:
parent
525f0602d9
commit
be35509864
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
2
install
2
install
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue