--- src/vfs/extfs/helpers/deb.in | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) --- a/src/vfs/extfs/helpers/deb.in +++ b/src/vfs/extfs/helpers/deb.in @@ -179,6 +179,15 @@ sub mcdebfs_run } } +sub _which +{ + my $app = shift; + foreach my $dir (split/:/, $ENV{'PATH'}) { + return "$dir/$app" if -x "$dir/$app"; + } + return undef; +} + $pressinstall=<