summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Singer2017-05-19 17:27:21 +0200
committerFelix Singer2017-05-19 17:27:21 +0200
commit245b4b02de296da7a84efc70e39c3dcc79e5b545 (patch)
tree47727fa776ea570351e67f27efd7cd789388d5f2
parent405c9b2bb15b933c0f8221ad013ef718ca08dade (diff)
downloadaur-245b4b02de296da7a84efc70e39c3dcc79e5b545.tar.gz
Remove directory after removing package
-rw-r--r--murmur-snapshot-minimal.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/murmur-snapshot-minimal.install b/murmur-snapshot-minimal.install
index 706e9b42d224..04aed7072820 100644
--- a/murmur-snapshot-minimal.install
+++ b/murmur-snapshot-minimal.install
@@ -8,3 +8,9 @@ post_install() {
chmod 750 /var/lib/murmur /var/log/murmur
chmod 755 /run/murmur
}
+
+post_remove() {
+ if [ -d /run/murmur ]; then
+ rm -r /run/murmur
+ fi
+}