From 2a4c41bf2946fad65b14cf1b4ea284ebce0f11f3 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 10 Sep 2012 00:03:51 +0000 Subject: Mon Sep 10 00:03:51 UTC 2012 --- community/pkgfile/pkgfile.install | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'community/pkgfile/pkgfile.install') 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 +} -- cgit v1.2.3-54-g00ecf