diff options
-rw-r--r-- | abs/core-testing/ntfs-3g/PKGBUILD | 1 | ||||
-rw-r--r-- | abs/core-testing/ntfs-3g/ntfs-3g.install | 15 |
2 files changed, 16 insertions, 0 deletions
diff --git a/abs/core-testing/ntfs-3g/PKGBUILD b/abs/core-testing/ntfs-3g/PKGBUILD index 9529a86..d25ce4a 100644 --- a/abs/core-testing/ntfs-3g/PKGBUILD +++ b/abs/core-testing/ntfs-3g/PKGBUILD @@ -9,6 +9,7 @@ pkgdesc="Stable read and write NTFS driver" url="http://www.ntfs-3g.org/" arch=('i686' 'x86_64') license=('GPL2') +install=ntfs-3g.install depends=('glibc') makedepends=('pkgconfig') options=('!libtool') diff --git a/abs/core-testing/ntfs-3g/ntfs-3g.install b/abs/core-testing/ntfs-3g/ntfs-3g.install new file mode 100644 index 0000000..ad8cc1b --- /dev/null +++ b/abs/core-testing/ntfs-3g/ntfs-3g.install @@ -0,0 +1,15 @@ +# arg 1: the new package version +post_install() { + ln -s /sbin/mount.ntfs-3g /sbin/mount.ntfs +} +# arg 1: the new package version +# arg 2: the old package version + +# arg 1: the old package version +post_remove() { + rm -fr /sbin/mount.ntfs +} + +op=$1 +shift +$op $* |