aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXiyue Deng2013-04-22 02:53:18 -0700
committerJack Nagel2013-04-22 23:41:05 -0500
commitae81fc02f7e282bdf8d3b45692b41841792828ca (patch)
treec06c036099c8580f9a7d112ab9f8b735be1be850 /Library/Formula
parent4fa6a9066d3b34422b794cf086a0b1eb1ef72aeb (diff)
downloadhomebrew-ae81fc02f7e282bdf8d3b45692b41841792828ca.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ntfs-3g.rb7
1 files changed, 3 insertions, 4 deletions
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: