[Fai-commit] r4073 - trunk/bin
fai-commit at lists.alioth.debian.org
fai-commit at lists.alioth.debian.org
Mon Oct 9 23:30:53 UTC 2006
Author: lange
Date: 2006-10-09 23:30:52 +0000 (Mon, 09 Oct 2006)
New Revision: 4073
Modified:
trunk/bin/install_packages
Log:
add missing package list to yum and rpm calls
Modified: trunk/bin/install_packages
===================================================================
--- trunk/bin/install_packages 2006-10-09 23:29:49 UTC (rev 4072)
+++ trunk/bin/install_packages 2006-10-09 23:30:52 UTC (rev 4073)
@@ -25,7 +25,7 @@
# MA 02111-1307, USA.
#*********************************************************************
-my $version = "Version 3.4, 4-sep-2006";
+my $version = "Version 3.4.1, 10-oct-2006";
$0=~ s#.+/##; # remove path from program name
# import variables: $verbose, $MAXPACKAGES, $classes, $FAI, $FAI_ROOT
@@ -154,9 +154,9 @@
my $packlist = join(' ',@{$list{$atype}});
- if ($atype =~ /rpm|yum|y2?|yum|rpmr/) {
+ if ($atype =~ /rpm|yum|y2/) {
$command{clean} = "true"; # do not cal apt-get lcean for rpm and yum packages
- execute("$rootcmd $command{$atype}") if $packlist;
+ execute("$rootcmd $command{$atype} $packlist") if $packlist;
next;
}
More information about the Fai-commit
mailing list