From be355098643b8eff6485167095208e56dad93131 Mon Sep 17 00:00:00 2001 From: James Barnett Date: Wed, 27 Apr 2016 08:22:42 -0500 Subject: [PATCH] move scripts dir to be consistent with other hooks --- 00_snapper-pre.hook | 2 +- install | 2 +- zz_snapper-post.hook | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/00_snapper-pre.hook b/00_snapper-pre.hook index 8139794..9e4b412 100644 --- a/00_snapper-pre.hook +++ b/00_snapper-pre.hook @@ -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 diff --git a/install b/install index 3ca0dd6..8102dae 100755 --- a/install +++ b/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 diff --git a/zz_snapper-post.hook b/zz_snapper-post.hook index 37196e7..1136189 100644 --- a/zz_snapper-post.hook +++ b/zz_snapper-post.hook @@ -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