summaryrefslogtreecommitdiff
path: root/community/pkgfile/pkgfile.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-10 00:03:51 +0000
committerroot <root@rshg054.dnsready.net>2012-09-10 00:03:51 +0000
commit2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 (patch)
tree851a0ed5423f6dad7e4b532c6a23f0eaf42aea9b /community/pkgfile/pkgfile.install
parentf393cb99c2cc66d9c323fae18bab2c0dd57ac41f (diff)
Mon Sep 10 00:03:51 UTC 2012
Diffstat (limited to 'community/pkgfile/pkgfile.install')
-rw-r--r--community/pkgfile/pkgfile.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/pkgfile/pkgfile.install b/community/pkgfile/pkgfile.install
index 358507c55..5545a3d39 100644
--- a/community/pkgfile/pkgfile.install
+++ b/community/pkgfile/pkgfile.install
@@ -10,3 +10,9 @@ post_remove() {
printf "==> /var/cache/pkgfile has not been removed\n"
fi
}
+
+post_upgrade() {
+ if [ "$(vercmp 5 "$2")" -eq 1 ]; then
+ printf "==> DB format has changed. Please run pkgfile -uu\n"
+ fi
+}