summaryrefslogtreecommitdiff
path: root/community/pkgfile/pkgfile.install
diff options
context:
space:
mode:
Diffstat (limited to 'community/pkgfile/pkgfile.install')
-rw-r--r--community/pkgfile/pkgfile.install9
1 files changed, 8 insertions, 1 deletions
diff --git a/community/pkgfile/pkgfile.install b/community/pkgfile/pkgfile.install
index 7653630b0..bf0c9cfa3 100644
--- a/community/pkgfile/pkgfile.install
+++ b/community/pkgfile/pkgfile.install
@@ -1,5 +1,12 @@
#!/bin/bash
post_install() {
- printf "==> Run 'pkgfile ---update' to initialize the database\n"
+ printf "==> Run 'pkgfile --update' to initialize the database\n"
+}
+
+post_remove() {
+ # the cache dir might not be removed, notify the user
+ if [ -d var/cache/pkgfile ]; then
+ printf "==> /var/cache/pkgfile has not been removed\n"
+ fi
}