[Fai-commit] r4432 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Wed Jul 11 20:42:31 UTC 2007
Author: lange
Date: 2007-07-11 20:42:31 +0000 (Wed, 11 Jul 2007)
New Revision: 4432
Modified:
trunk/bin/install_packages
Log:
fix typo, remove spaces at end of line
Modified: trunk/bin/install_packages
===================================================================
--- trunk/bin/install_packages 2007-07-11 20:40:22 UTC (rev 4431)
+++ trunk/bin/install_packages 2007-07-11 20:42:31 UTC (rev 4432)
@@ -86,7 +86,7 @@
"urpme" => "urpme --auto --foce --allow-force --keep",
"yumi" => "yum -y install",
"yumr" => "yum -y remove",
- "umgroup" => "yum -y groupinstall",
+ "yumgroup" => "yum -y groupinstall",
"y2i" => "y2pmsh isc",
"y2r" => "y2pmsh remove",
"yast" => "yast -i",
@@ -323,8 +323,9 @@
}
# - - - - - - - - - - - - - - - - - - - - - - - - - - -
sub installable {
+
# ckeck, wether package can be installed.
- # return false for packages which only exist in
+ # return false for packages which only exist in
# dpkg status files
my $package = shift;
@@ -339,7 +340,7 @@
my $flist = $version->{FileList};
foreach my $fitem (@$flist) {
# if the file is a package index (not a dpkg status file)
- # the package is installable
+ # the package is installable
return 1 if ($fitem->{File}{IndexType} eq "Debian Package Index");
}
}
@@ -366,7 +367,7 @@
}
# ignore packages ending with - when using -d
- @complete = grep {!/-$/} @complete if $opt_d;
+ @complete = grep {!/-$/} @complete if $opt_d;
foreach (reverse @complete) {
my $pack = $_;
More information about the Fai-commit
mailing list