diff options
author | Henrik Riomar <henrik.riomar@gmail.com> | 2017-12-20 11:57:20 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-27 14:42:12 +0100 |
commit | 917041212d6841b0924e93e5b5abe6f8ac811b9d (patch) | |
tree | b3a208c79731d16d2d20f4669f4e803267210e87 /community/etckeeper/apk-commit_hook | |
parent | 34ceaf65b946bfb564f0e83b9dcae045c3d5b1b1 (diff) | |
download | aports-917041212d6841b0924e93e5b5abe6f8ac811b9d.tar.bz2 aports-917041212d6841b0924e93e5b5abe6f8ac811b9d.tar.xz |
community/etckeeper: do not warn for hard links
Diffstat (limited to 'community/etckeeper/apk-commit_hook')
-rw-r--r-- | community/etckeeper/apk-commit_hook | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/community/etckeeper/apk-commit_hook b/community/etckeeper/apk-commit_hook index 6f0a4c043c..a662c81a81 100644 --- a/community/etckeeper/apk-commit_hook +++ b/community/etckeeper/apk-commit_hook @@ -2,6 +2,11 @@ [ -x /usr/bin/etckeeper ] || exit +[ -x /usr/bin/git ] || exit +[ -x /usr/bin/find ] || exit + +AVOID_SPECIAL_FILE_WARNING=1 +export AVOID_SPECIAL_FILE_WARNING case "$1" in pre-commit) |