From 27eacb8e624358f8fd3f3795ed3ab432194e88ee Mon Sep 17 00:00:00 2001 From: Cecil Hugh Watson Date: Sun, 28 Jun 2009 20:16:00 -0700 Subject: Added install file for ntfs-3g. --- abs/core-testing/ntfs-3g/PKGBUILD | 3 ++- abs/core-testing/ntfs-3g/ntfs-3g.install | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 abs/core-testing/ntfs-3g/ntfs-3g.install diff --git a/abs/core-testing/ntfs-3g/PKGBUILD b/abs/core-testing/ntfs-3g/PKGBUILD index 738f131..d25ce4a 100644 --- a/abs/core-testing/ntfs-3g/PKGBUILD +++ b/abs/core-testing/ntfs-3g/PKGBUILD @@ -4,11 +4,12 @@ pkgname=ntfs-3g pkgver=2009.4.4 -pkgrel=1 +pkgrel=2 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 $* -- cgit v0.12