From 318794a69b021cc98b5fc67167f5a370eaededf4 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sat, 7 Oct 2023 08:59:46 -0700 Subject: [PATCH] Skip %post if getopt is missing Related: RHEL-44988 --- ca-certificates.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ca-certificates.spec b/ca-certificates.spec index 9dbe0e1..5097804 100644 --- a/ca-certificates.spec +++ b/ca-certificates.spec @@ -314,7 +314,7 @@ fi #fi # if ln is available, go ahead and run the ca-legacy and update # scripts. If not, wait until %posttrans. -if [ -x %{_bindir}/ln ]; then +if [ -x %{_bindir}/ln ] && [ -x %{_bindir}/getopt ]; then %{_bindir}/ca-legacy install %{_bindir}/update-ca-trust fi @@ -395,6 +395,9 @@ fi %changelog +* Sat Oct 07 2023 Adam Williamson - 2024.2.68_v8.0.302-91.0 +- Skip %post if getopt is missing (recent change made update-ca-trust use it) + * Fri Sep 29 2023 Clemens Lang - 2024.2.68_v8.0.302-91.0 - update-ca-trust: Support --output and non-root operation (rhbz#2241240)