From ae81fc02f7e282bdf8d3b45692b41841792828ca Mon Sep 17 00:00:00 2001 From: Xiyue Deng Date: Mon, 22 Apr 2013 02:53:18 -0700 Subject: ntfs-3g: use opt prefix, update instructions. * Use opt prefix so that symlink won't be broken when upgrading. - Currently #{sbin} will be broken when older versions gets cleaned. * Update URL for instructions, which gets moved to wordpress. * Remove '-o noappledouble' option as it may cause some problem as mentioned in the original blog. Closes #19353. Signed-off-by: Jack Nagel --- Library/Formula/ntfs-3g.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Library') diff --git a/Library/Formula/ntfs-3g.rb b/Library/Formula/ntfs-3g.rb index 3ab31d6bb..9da58ed4a 100644 --- a/Library/Formula/ntfs-3g.rb +++ b/Library/Formula/ntfs-3g.rb @@ -46,10 +46,9 @@ class Ntfs3g < Formula GROUP_ID=`/usr/bin/stat -f %g /dev/console` fi - #{bin}/ntfs-3g \\ + #{opt_prefix}/bin/ntfs-3g \\ -o volname="${VOLUME_NAME}" \\ -o local \\ - -o noappledouble \\ -o negative_vncache \\ -o auto_xattr \\ -o auto_cache \\ @@ -71,12 +70,12 @@ class Ntfs3g < Formula <<-EOS.undent To replace the default Mac OSX automounter: sudo mv /sbin/mount_ntfs /sbin/mount_ntfs.orig - sudo ln -s #{sbin}/mount_ntfs /sbin/mount_ntfs + sudo ln -s #{opt_prefix}/sbin/mount_ntfs /sbin/mount_ntfs The automount will set the permissions for the current logged in user, otherwise it will set them for the user that installed ntfs-3g. The automount support script is based on the information provided at - http://fernandoff.posterous.com/ntfs-write-support-on-osx-lion-with-ntfs-3g-f + http://fernandofig.wordpress.com/2011/08/08/ntfs-write-support-on-osx-lion-with-ntfs-3g-f/ Remember to install the fuse4x kernel extension as the root user. Instructions are found here: -- cgit v1.2.3