diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-08-13 21:11:38 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-08-13 21:11:38 +0000 |
commit | 1e8bcb09e2b79cf140190c7970f66e28289c8f2b (patch) | |
tree | 9c77a93f37167e69412ba6e2a104d91c545b0bb0 /perl-install/network/smbnfs.pm | |
parent | 26f4283dcfbdcb5305c3e7181c6ae82284d47c02 (diff) | |
download | drakx-1e8bcb09e2b79cf140190c7970f66e28289c8f2b.tar drakx-1e8bcb09e2b79cf140190c7970f66e28289c8f2b.tar.gz drakx-1e8bcb09e2b79cf140190c7970f66e28289c8f2b.tar.bz2 drakx-1e8bcb09e2b79cf140190c7970f66e28289c8f2b.tar.xz drakx-1e8bcb09e2b79cf140190c7970f66e28289c8f2b.zip |
use ensure_is_installed
Diffstat (limited to 'perl-install/network/smbnfs.pm')
-rw-r--r-- | perl-install/network/smbnfs.pm | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/perl-install/network/smbnfs.pm b/perl-install/network/smbnfs.pm index 6b55f6fd0..8bd29ea92 100644 --- a/perl-install/network/smbnfs.pm +++ b/perl-install/network/smbnfs.pm @@ -41,18 +41,5 @@ sub to_fstab_entry_raw { $fs_entry; } -sub raw_check { - my ($class, $in, $pkg, $file) = @_; - if (! -e $file) { - $in->ask_okcancel('', _("The package %s needs to be installed. Do you want to install it?", $pkg), 1) or return; - $in->do_pkgs->install($pkg); - } - if (! -e $file) { - $in->ask_warn('', _("Mandatory package %s is missing", $pkg)); - return; - } - 1; -} - 1; |