debian: Fix ntfs3g available API on Debian.

Really we should have a test for "is program on $PATH?" but this
fix will do for now.
This commit is contained in:
Richard W.M. Jones
2010-12-07 16:51:41 +00:00
parent 37a2422868
commit 0938509e04

View File

@@ -32,7 +32,11 @@ int
optgroup_ntfs3g_available (void)
{
int r = access ("/bin/ntfs-3g.probe", X_OK);
return r == 0;
if (r == 0)
return 1;
/* On Debian: */
r = access ("/usr/bin/ntfs-3g.probe", X_OK);
return (r == 0);
}
int