diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 16:57:51 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-07-08 16:57:51 +0000 |
commit | bc9b5560369b2b94c1be40a5ac518a0f8b3d0f98 (patch) | |
tree | 46ee7115cce18045a08f06a8a44fe3f47e298fd9 /urpm | |
parent | 1996511a162e6b4ee7c4b4a2e325100e483f5519 (diff) | |
download | urpmi-bc9b5560369b2b94c1be40a5ac518a0f8b3d0f98.tar urpmi-bc9b5560369b2b94c1be40a5ac518a0f8b3d0f98.tar.gz urpmi-bc9b5560369b2b94c1be40a5ac518a0f8b3d0f98.tar.bz2 urpmi-bc9b5560369b2b94c1be40a5ac518a0f8b3d0f98.tar.xz urpmi-bc9b5560369b2b94c1be40a5ac518a0f8b3d0f98.zip |
simplify
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/main_loop.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/main_loop.pm b/urpm/main_loop.pm index 224a9909..f9ac014e 100644 --- a/urpm/main_loop.pm +++ b/urpm/main_loop.pm @@ -45,7 +45,7 @@ my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm, $state->{selected}, clean_other => !$noclean && $urpm->{options}{'pre-clean'}, ); -unless ($local_sources || $list) { +if (!$local_sources && !$list) { $urpm->{fatal}(3, N("unable to get source packages, aborting")); } |