[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] debian/fetch-rootca-cert: Re-try rootCA retrieve if previous retrievals ended...

Mike Gabriel gitlab at salsa.debian.org
Thu Oct 8 10:10:46 BST 2020



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
6306c1b4 by Mike Gabriel at 2020-10-08T11:10:35+02:00
debian/fetch-rootca-cert: Re-try rootCA retrieve if previous retrievals ended up with an empty Debian-Edu_rootCA.crt file in /usr/local/share/ca-certificates/. (Closes: #971775).

- - - - -


2 changed files:

- debian/changelog
- debian/debian-edu-config.fetch-rootca-cert


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+debian-edu-config (2.11.32) UNRELEASED; urgency=medium
+
+  * debian/fetch-rootca-cert: Re-try rootCA retrieve if previous retrievals ended up
+    with an empty Debian-Edu_rootCA.crt file in /usr/local/share/ca-certificates/.
+    (Closes: #971775).
+
+ -- Mike Gabriel <sunweaver at debian.org>  Thu, 08 Oct 2020 11:08:51 +0200
+
 debian-edu-config (2.11.31) unstable; urgency=medium
 
   [ Wolfgang Schweer ]


=====================================
debian/debian-edu-config.fetch-rootca-cert
=====================================
@@ -31,7 +31,7 @@ do_start() {
 	rm -f $BUNDLECRT
 
 	# RootCA cert retrieval
-	if [ ! -f $LOCALCACRT ] ; then
+	if [ ! -f $LOCALCACRT ] || [ ! -s $LOCALCACRT ]; then
 		# Since Debian Edu 10, the RootCA file is distributed
 		# over http (always via the host serving www.intern, by default: TJENER)
 		#



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/6306c1b4a91d4a4164e602e752acf7bb1fa12a87

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/commit/6306c1b4a91d4a4164e602e752acf7bb1fa12a87
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20201008/d2411e85/attachment.html>


More information about the debian-edu-commits mailing list