initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

18
pkgfile/pkgfile.install Normal file
View File

@@ -0,0 +1,18 @@
#!/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
}