summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-11-15 09:26:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-11-15 09:26:57 +0000
commit1dfdbae747b80b38c984a59989df1c1baf797bf4 (patch)
treef3bf0de5a24d9cbbc0523cf527f2df310b939f88
parent1845cc6b9018c85d0c0547362389307b4c5e7dac (diff)
downloadurpmi-1dfdbae747b80b38c984a59989df1c1baf797bf4.tar
urpmi-1dfdbae747b80b38c984a59989df1c1baf797bf4.tar.gz
urpmi-1dfdbae747b80b38c984a59989df1c1baf797bf4.tar.bz2
urpmi-1dfdbae747b80b38c984a59989df1c1baf797bf4.tar.xz
urpmi-1dfdbae747b80b38c984a59989df1c1baf797bf4.zip
nicer error message
-rwxr-xr-xurpmi2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi b/urpmi
index 52e8f6a2..ee5cc439 100755
--- a/urpmi
+++ b/urpmi
@@ -576,7 +576,7 @@ foreach my $pkg (@to_install) {
$ask_user ||= !$pkg->flag_requested || $auto_select || $parallel;
if (!$env && $install_src && $pkg->arch ne 'src') {
- push @root_only, $pkg->fullname;
+ push @root_only, scalar $pkg->fullname;
}
}
if (@root_only && !$env) {