diff options
| author | Gleb Popov <arrowd@FreeBSD.org> | 2025-10-11 19:28:31 +0000 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2025-10-11 19:30:16 +0000 |
| commit | 6f10a1d50eb517e573e3ea3c04e2ed71ca549038 (patch) | |
| tree | aed273fe4476dd221aeee1020dfab2a96fa3dc7f | |
| parent | 767335453fbf33b845d4f58cc948400ca7f6d76b (diff) | |
ports-mgmt/packagekit: Remove transactions.db using @postunexec
This file is installed with @sample to prevent pkg from verifying its checksum.
But with @sample alone this file won't be reinstalled ever, which might create
problems if the DB schema change.
PR: 285178
| -rw-r--r-- | ports-mgmt/packagekit/pkg-plist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports-mgmt/packagekit/pkg-plist b/ports-mgmt/packagekit/pkg-plist index 3b11275a12e8..f184b4198632 100644 --- a/ports-mgmt/packagekit/pkg-plist +++ b/ports-mgmt/packagekit/pkg-plist @@ -149,5 +149,6 @@ share/polkit-1/rules.d/org.freedesktop.packagekit.rules share/vala/vapi/packagekit-glib2.deps share/vala/vapi/packagekit-glib2.vapi @sample /var/lib/PackageKit/transactions.db.sample +@postunexec /bin/rm -rf /var/lib/PackageKit/transactions.db @dir /var/lib/PackageKit @dir /var/lib |
