aboutsummaryrefslogtreecommitdiffstats
path: root/testing/etckeeper/etckeeper.pre-deinstall
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2017-01-24 19:19:52 +0100
committerTimo Teräs <timo.teras@iki.fi>2017-02-28 16:18:04 +0200
commit188d8ba1fe16000e59eacbb4e86f6bc92e0a61e0 (patch)
treed9ed8072f0078dc3b46a742a7ab49fc22959af39 /testing/etckeeper/etckeeper.pre-deinstall
parentf965a9b1661f09c3ba69d55cc124c129f372f798 (diff)
downloadaports-188d8ba1fe16000e59eacbb4e86f6bc92e0a61e0.tar.bz2
aports-188d8ba1fe16000e59eacbb4e86f6bc92e0a61e0.tar.xz
testing/etckeeper: new aport
Note: uses a apk commit_hooks.d script, so it requires a new apk version.
Diffstat (limited to 'testing/etckeeper/etckeeper.pre-deinstall')
-rw-r--r--testing/etckeeper/etckeeper.pre-deinstall6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/etckeeper/etckeeper.pre-deinstall b/testing/etckeeper/etckeeper.pre-deinstall
new file mode 100644
index 0000000000..9170848b38
--- /dev/null
+++ b/testing/etckeeper/etckeeper.pre-deinstall
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+etckeeper uninit
+
+rm -f /var/cache/etckeeper/packagelist.fmt
+rm -f /var/cache/etckeeper/packagelist.pre-install