diff options
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Urpmi.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 51d9022..2997704 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -383,6 +383,7 @@ sub install_packages_old { sub are_installed { my ($chroot, @pkgs) = @_; + @pkgs = map { -f "$chroot$_" && `rpm -qp --qf %{name} $chroot$_` || $_ } @pkgs; system("sudo chroot $chroot rpm -q @pkgs") == 0; } |