From e851a2c93244937973b2e01f3c07fe5dd02c2b3e Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 29 Nov 2014 17:30:47 +0100 Subject: pkgfile-git: .. forgot the install file --- pkgfile.install | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 pkgfile.install 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 +} -- cgit v1.2.3-70-g09d2