summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-04-18 12:35:29 +0000
committerZach van Rijn <me@zv.io>2024-04-25 02:48:27 +0000
commit57f6cb635913a9ec567960e7ff0d9501a6d7e062 (patch)
treed9dd0817e40773c752b707237403d6b7d6f0c56a
parent2ecb3816c62624b25e06864c71831890df26e869 (diff)
downloadpackages-57f6cb635913a9ec567960e7ff0d9501a6d7e062.tar.gz
packages-57f6cb635913a9ec567960e7ff0d9501a6d7e062.tar.bz2
packages-57f6cb635913a9ec567960e7ff0d9501a6d7e062.tar.xz
packages-57f6cb635913a9ec567960e7ff0d9501a6d7e062.zip
user/tipidee: clean up compiled db on deinstall
-rw-r--r--user/tipidee/APKBUILD1
-rw-r--r--user/tipidee/tipidee.post-deinstall3
2 files changed, 4 insertions, 0 deletions
diff --git a/user/tipidee/APKBUILD b/user/tipidee/APKBUILD
index edac71c1d..613be9e3c 100644
--- a/user/tipidee/APKBUILD
+++ b/user/tipidee/APKBUILD
@@ -23,6 +23,7 @@ source="
install="
tipidee.pre-install
tipidee.post-install
+ tipidee.post-deinstall
"
pkggroups="tipidee"
pkgusers="tipideelog tipideed"
diff --git a/user/tipidee/tipidee.post-deinstall b/user/tipidee/tipidee.post-deinstall
new file mode 100644
index 000000000..9912c9503
--- /dev/null
+++ b/user/tipidee/tipidee.post-deinstall
@@ -0,0 +1,3 @@
+#!/bin/execlineb -P
+
+rm -f /etc/tipidee.conf.cdb