aboutsummaryrefslogtreecommitdiffstats
path: root/pkgfile.install
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-11-29 17:30:47 +0100
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:45 +0200
commite851a2c93244937973b2e01f3c07fe5dd02c2b3e (patch)
tree8d6967a5c004fd56942d154b53aa911535fec290 /pkgfile.install
parent7bb1fa18215ebb078301ad8b836fa0c08ec7e1a0 (diff)
downloadpkgbuilds-e851a2c93244937973b2e01f3c07fe5dd02c2b3e.tar.xz
pkgfile-git: .. forgot the install file
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 0000000..bf0c9cf
--- /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
+}