- test for a concretely missing certificate rather than

just the directory, as the latter is now also provided by
  openssl-3

OBS-URL: https://build.opensuse.org/package/show/Base:System/ca-certificates-mozilla?expand=0&rev=160
This commit is contained in:
Marcus Meissner 2025-02-05 08:27:03 +00:00 committed by Git OBS Bridge
parent 40fc73a8f9
commit 828074ec32
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Feb 4 15:48:48 UTC 2025 - Dirk Müller <dmueller@suse.com>
- test for a concretely missing certificate rather than
just the directory, as the latter is now also provided by
openssl-3
-------------------------------------------------------------------
Thu Aug 8 12:16:30 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>

View File

@ -71,7 +71,7 @@ echo "C /var/lib/ca-certificates" > %{buildroot}%{_tmpfilesdir}/%{name}.conf
if [ -z "${TRANSACTIONAL_UPDATE}" ]; then
if [ -x /usr/bin/systemd-tmpfiles ]; then
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/ca-certificates-mozilla-prebuilt.conf || :
elif [ -x /bin/cp ] && [ ! -e /var/lib/ca-certificates ]; then
elif [ -x /bin/cp ] && [ ! -e /var/lib/ca-certificates/openssl/002c0b4f.0 ]; then
/bin/cp -as /usr/share/factory/var/lib/ca-certificates /var/lib || :
fi
fi