mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
18 lines
402 B
Bash
18 lines
402 B
Bash
#!/bin/sh
|
|
|
|
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
|
|
}
|
|
|
|
post_upgrade() {
|
|
if [ "$(vercmp 5 "$2")" -eq 1 ]; then
|
|
printf "==> DB format has changed. Please run pkgfile -uu\n"
|
|
fi
|
|
}
|