summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake/resize_ntfs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-06 13:24:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-06 13:24:32 +0000
commit27b57fc70ecd1d4276fa07442f3d5a41c0907ebd (patch)
tree4dbfb66f91f9d284d1b99096d9bc6b6d7e871eee /perl-install/diskdrake/resize_ntfs.pm
parentf2f70d673d6d7caad289a3df0d1e76f2bb48c172 (diff)
downloaddrakx-27b57fc70ecd1d4276fa07442f3d5a41c0907ebd.tar
drakx-27b57fc70ecd1d4276fa07442f3d5a41c0907ebd.tar.gz
drakx-27b57fc70ecd1d4276fa07442f3d5a41c0907ebd.tar.bz2
drakx-27b57fc70ecd1d4276fa07442f3d5a41c0907ebd.tar.xz
drakx-27b57fc70ecd1d4276fa07442f3d5a41c0907ebd.zip
ensure ntfsresize is available
Diffstat (limited to 'perl-install/diskdrake/resize_ntfs.pm')
-rw-r--r--perl-install/diskdrake/resize_ntfs.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm
index aa838ea31..5af20f273 100644
--- a/perl-install/diskdrake/resize_ntfs.pm
+++ b/perl-install/diskdrake/resize_ntfs.pm
@@ -12,6 +12,11 @@ sub new {
bless { dev => $dev }, $type;
}
+sub check_prog {
+ my ($in) = @_;
+ $::isInstall || $in->do_pkgs->ensure_binary_is_installed('ntfsprogs', 'ntfsresize');
+}
+
sub min_size {
my ($o) = @_;
my $r;