summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-04 17:01:52 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-04 17:01:52 +0000
commitc8c2eacd54613888f2106e0512d6b18a3878755b (patch)
treea230ba08a350e7fc29f097af01067ddc2d3279c7
parentbc8b97aec2a8ee2823abcb171b635fa9db21087f (diff)
downloaddrakx-c8c2eacd54613888f2106e0512d6b18a3878755b.tar
drakx-c8c2eacd54613888f2106e0512d6b18a3878755b.tar.gz
drakx-c8c2eacd54613888f2106e0512d6b18a3878755b.tar.bz2
drakx-c8c2eacd54613888f2106e0512d6b18a3878755b.tar.xz
drakx-c8c2eacd54613888f2106e0512d6b18a3878755b.zip
check for ntfsresize in real root first
-rw-r--r--perl-install/diskdrake/resize_ntfs.pm3
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 {