git: 6f10a1d50eb5 - main - ports-mgmt/packagekit: Remove transactions.db using @postunexec
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 11 Oct 2025 19:30:26 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6f10a1d50eb517e573e3ea3c04e2ed71ca549038
commit 6f10a1d50eb517e573e3ea3c04e2ed71ca549038
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-10-11 19:28:31 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-10-11 19:30:16 +0000
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
---
ports-mgmt/packagekit/pkg-plist | 1 +
1 file changed, 1 insertion(+)
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