wok rev 19709

ntfs-3g: no cp + wildcard + absolute links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 15 15:15:00 2017 +0100 (2017-02-15)
parents e9d3c81466d5
children 4bbada6faade
files ntfs-3g/receipt
line diff
     1.1 --- a/ntfs-3g/receipt	Wed Feb 15 11:22:40 2017 +0100
     1.2 +++ b/ntfs-3g/receipt	Wed Feb 15 15:15:00 2017 +0100
     1.3 @@ -30,12 +30,10 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/lib $fs/usr/lib $fs/etc $fs/sbin $fs/usr/bin
     1.8 -	cp -a $install/bin $fs/
     1.9 -	cp -a $install/sbin/mount* $fs/sbin
    1.10 -	cp -a $install/lib/*-3g.so* $fs/lib
    1.11 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.12 -	cp -a $install/usr/bin/*-3g* $fs/usr/bin
    1.13 +	mkdir -p $fs/etc
    1.14 +	cp -a $install/. $fs/.
    1.15 +	rm -rf $fs/usr/bin/ntfs[a-z]* $fs/sbin/mkfs.ntfs $fs/usr/s*
    1.16 +	rm -rf $fs/usr/share $fs/usr/lib $fs/usr/include
    1.17  	touch $fs/etc/filesystems
    1.18  	#this link allow udisks2 to use ntfs-3g
    1.19  	cd $fs/sbin