summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-04-13 23:27:43 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-04-13 23:27:43 +0000
commit3f3ced984833bf1084447c1afd3cfc7d17d0838b (patch)
treed1c9b1884efe353b3fa5a165ca7f601dfa8c6ff5 /perl-install/pkgs.pm
parent21afb921cd71327cae09ec568f11e6f020a93229 (diff)
downloaddrakx-backup-do-not-use-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar
drakx-backup-do-not-use-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar.gz
drakx-backup-do-not-use-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar.bz2
drakx-backup-do-not-use-3f3ced984833bf1084447c1afd3cfc7d17d0838b.tar.xz
drakx-backup-do-not-use-3f3ced984833bf1084447c1afd3cfc7d17d0838b.zip
no_comment
Diffstat (limited to 'perl-install/pkgs.pm')
-rw-r--r--perl-install/pkgs.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 4acc279f8..4aa8edb4d 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -487,8 +487,8 @@ sub readCompss {
/^\s*$/ || /^#/ and next;
s/#.*//;
- if (/^(\S+)/) {
- $p = $1 if /^(\S+)/;
+ if (/^(\S.*)/) {
+ $p = $1;
} else {
/(\S+)/;
$packages->[0]{$1} or log::l("unknown package $1 in compss"), next;