[blfs-book] r12724 - trunk/BOOK/postlfs/security

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Tue Feb 18 04:29:12 PST 2014


Author: pierre
Date: Tue Feb 18 04:29:12 2014
New Revision: 12724

Log:
Caserts: Avoid generating an error if ./certs directory is empty

Modified:
   trunk/BOOK/postlfs/security/cacerts.xml

Modified: trunk/BOOK/postlfs/security/cacerts.xml
==============================================================================
--- trunk/BOOK/postlfs/security/cacerts.xml	Tue Feb 18 02:43:05 2014	(r12723)
+++ trunk/BOOK/postlfs/security/cacerts.xml	Tue Feb 18 04:29:12 2014	(r12724)
@@ -192,7 +192,7 @@
 unset CERTBEGINLIST CERTDATA CERTENDLIST certebegin certend
 
 mkdir -p certs
-rm certs/*      # Make sure the directory is clean
+rm -f certs/*      # Make sure the directory is clean
 
 for tempfile in ${TEMPDIR}/certs/*.tmp; do
   # Make sure that the cert is trusted...



More information about the blfs-book mailing list