diff options
Diffstat (limited to 'community/pkgfile/pkgfile.install')
-rw-r--r-- | community/pkgfile/pkgfile.install | 6 |
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 +} |