diff options
-rw-r--r-- | perl-install/do_pkgs.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/do_pkgs.pm b/perl-install/do_pkgs.pm index 4bb6842a8..0bf8fedd8 100644 --- a/perl-install/do_pkgs.pm +++ b/perl-install/do_pkgs.pm @@ -45,7 +45,12 @@ sub ensure_is_installed_if_available { $do->what_provides($pkg) and $do->install($pkg); } } - + +sub is_available { + my ($do, $name) = @_; + $do->are_available($name); +} + sub is_installed { my ($do, $name) = @_; $do->are_installed($name); |