[Fai-commit] r6634 - trunk/bin

Thomas Lange lange at alioth.debian.org
Sat Jul 30 09:24:32 UTC 2011


Author: lange
Date: 2011-07-30 09:24:32 +0000 (Sat, 30 Jul 2011)
New Revision: 6634

Modified:
   trunk/bin/install_packages
Log:
if -l is given, do not write $FAI_ROOT/var/log/install_packages.list


Modified: trunk/bin/install_packages
===================================================================
--- trunk/bin/install_packages	2011-07-21 16:21:27 UTC (rev 6633)
+++ trunk/bin/install_packages	2011-07-30 09:24:32 UTC (rev 6634)
@@ -464,6 +464,7 @@
   # write package list to log file
 
   return if $opt_d; # do not write the list if we only download packages
+  return if $opt_l; # do not write the list to a file, just print it
 
   open(LIST,"> $FAI_ROOT/var/log/install_packages.list") || warn "ERROR $0: Can't write package list file: $!\n";
   print LIST "# List of all packages that will be installed via install_packages\n";




More information about the Fai-commit mailing list