diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-03-04 17:00:36 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-03-04 17:00:36 +0000 |
commit | 059ebf518764b39267cb8ca3cfadb6f573eddeec (patch) | |
tree | 6e02c6da89884f966f7411a71aefce3f5a563bf7 /perl-install/diskdrake | |
parent | 55ec1e42a2e4e611fd8c71f8968d1a6ad08f6c9f (diff) | |
download | drakx-backup-do-not-use-059ebf518764b39267cb8ca3cfadb6f573eddeec.tar drakx-backup-do-not-use-059ebf518764b39267cb8ca3cfadb6f573eddeec.tar.gz drakx-backup-do-not-use-059ebf518764b39267cb8ca3cfadb6f573eddeec.tar.bz2 drakx-backup-do-not-use-059ebf518764b39267cb8ca3cfadb6f573eddeec.tar.xz drakx-backup-do-not-use-059ebf518764b39267cb8ca3cfadb6f573eddeec.zip |
check for ntfsresize in real root first
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/resize_ntfs.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/diskdrake/resize_ntfs.pm b/perl-install/diskdrake/resize_ntfs.pm index 5af20f273..ab99ce627 100644 --- a/perl-install/diskdrake/resize_ntfs.pm +++ b/perl-install/diskdrake/resize_ntfs.pm @@ -14,7 +14,8 @@ sub new { sub check_prog { my ($in) = @_; - $::isInstall || $in->do_pkgs->ensure_binary_is_installed('ntfsprogs', 'ntfsresize'); + #- ensure_binary_is_installed checks binary chrooted, whereas we run the binary non-chrooted (pb for Mandriva One) + $::isInstall || whereis_binary('ntfsresize') || $in->do_pkgs->ensure_binary_is_installed('ntfsprogs', 'ntfsresize'); } sub min_size { |