summarylogtreecommitdiffstats
path: root/pkgfile.install
diff options
context:
space:
mode:
authorDave Reisner2015-07-04 13:36:47 -0400
committerDave Reisner2015-07-04 13:36:47 -0400
commit656abf3f8a62c2b1281741ac78e962def668c58c (patch)
tree9969bd4f8f2f2702dd525b364d28939eedc1d3da /pkgfile.install
downloadaur-656abf3f8a62c2b1281741ac78e962def668c58c.tar.gz
initial commit
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
+}