git: fa240b7ff081 - main - packages: Update the METALOG when (un)installing the caroot package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 23:16:47 UTC
The branch main has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=fa240b7ff081a49d44e0941b2090e5dc5838fe60
commit fa240b7ff081a49d44e0941b2090e5dc5838fe60
Author: Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2025-10-22 23:14:35 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-22 23:14:47 +0000
packages: Update the METALOG when (un)installing the caroot package
There may be other issues here but this change certainly seems to
be necessary.
PR: 290394
Reviewed by: cperciva
Differential Revision: https://reviews.freebsd.org/D53263
---
release/packages/ucl/caroot.ucl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/release/packages/ucl/caroot.ucl b/release/packages/ucl/caroot.ucl
index e43c9d0771f2..f7d0dd8acb7f 100644
--- a/release/packages/ucl/caroot.ucl
+++ b/release/packages/ucl/caroot.ucl
@@ -4,6 +4,6 @@ deps {
}
}
scripts: {
- post-install = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ rehash"
- post-uninstall = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ rehash"
+ post-install = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ ${PKG_METALOG:+-U -M $PKG_METALOG} rehash"
+ post-uninstall = "/usr/sbin/certctl -D${PKG_ROOTDIR}/ ${PKG_METALOG:+-U -M $PKG_METALOG} rehash"
}