summarylogtreecommitdiffstats
path: root/pkgfile.install
diff options
context:
space:
mode:
Diffstat (limited to 'pkgfile.install')
-rw-r--r--pkgfile.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgfile.install b/pkgfile.install
new file mode 100644
index 000000000000..bf0c9cfa355c
--- /dev/null
+++ b/pkgfile.install
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+post_install() {
+ 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
+}