[Fai-commit] r5600 - trunk/lib
Thomas Lange
lange at alioth.debian.org
Tue Oct 27 14:10:48 UTC 2009
Author: lange
Date: 2009-10-27 14:10:48 +0000 (Tue, 27 Oct 2009)
New Revision: 5600
Modified:
trunk/lib/subroutines
Log:
suppress error message if no *.asc file is found
Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines 2009-10-27 14:08:07 UTC (rev 5599)
+++ trunk/lib/subroutines 2009-10-27 14:10:48 UTC (rev 5600)
@@ -851,7 +851,7 @@
local keyfile
# add apt keys for signed repositories
- for keyfile in `cd $FAI/package_config; ls *.asc`; do
+ for keyfile in `cd $FAI/package_config; ls *.asc 2>/dev/null`; do
echo -n "Loading APT key from $keyfile "
cat $FAI/package_config/$keyfile | $ROOTCMD apt-key add -
done
More information about the Fai-commit
mailing list