In case we have a git clone from Linux that is accessed via cygwin git the files executable status will be derived from the file content (shebang) and won't match the git repo, leading to a initially dirty tree. This can be worked around by setting "core.filemode=false", but let's try to match the cygwin permissions with the in-repo permissions so this isn't needed.
17 lines
391 B
Plaintext
17 lines
391 B
Plaintext
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
|
|
}
|