Add option for checking if hook is enabled in config file

This commit is contained in:
Eric Torres
2022-03-24 18:49:45 -07:00
parent e59bde6cd1
commit 9a876aa31d
4 changed files with 23 additions and 4 deletions

View File

@ -2,7 +2,7 @@
# Note that empty options are left without quotes
[pug2]
# Activate pug script upon running pug ALPM hook
GIST_PUG_ENABLE = no
RUN_ON_PACMAN_HOOK = no
# Name for gist
# Default: pacman-packages.txt

View File

@ -9,4 +9,4 @@ Target = *
Depends = coreutils
Depends = packaging-scripts
When = PostTransaction
Exec = /usr/bin/pug2
Exec = /usr/bin/pug2 --check-if-enabled