diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-11 20:12:11 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-11 20:12:11 +0000 |
commit | e3c239b2511b4c32b1f085547f17cc66ec812f11 (patch) | |
tree | a197cf8625e5e83b4a4309a65a53c58e054e28de /perl-install/network/thirdparty.pm | |
parent | 51243f2d95e82e2b37da435e878cdfdec64f7c3d (diff) | |
download | drakx-e3c239b2511b4c32b1f085547f17cc66ec812f11.tar drakx-e3c239b2511b4c32b1f085547f17cc66ec812f11.tar.gz drakx-e3c239b2511b4c32b1f085547f17cc66ec812f11.tar.bz2 drakx-e3c239b2511b4c32b1f085547f17cc66ec812f11.tar.xz drakx-e3c239b2511b4c32b1f085547f17cc66ec812f11.zip |
check that required files are available once the package is installed
Diffstat (limited to 'perl-install/network/thirdparty.pm')
-rw-r--r-- | perl-install/network/thirdparty.pm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/perl-install/network/thirdparty.pm b/perl-install/network/thirdparty.pm index 5426eab98..2e4d32f3b 100644 --- a/perl-install/network/thirdparty.pm +++ b/perl-install/network/thirdparty.pm @@ -438,8 +438,11 @@ sub install_packages { if (my @packages = $get_method->('get_packages')->($name)) { log::explanations("Installing thirdparty packages ($option) " . join(', ', @packages)); - $in->do_pkgs->install(@packages) and next; - warn_not_installed($in, @packages); + if (!$in->do_pkgs->install(@packages)) { + warn_not_installed($in, @packages); + } elsif ($get_method->('check_installed')->()) { + next; + } } log::explanations("Thirdparty package $name ($option) is required but not available"); |