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...
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page