wok rev 19933

fix symlinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 28 08:52:32 2017 +0200 (2017-04-28)
parents ff0fa2ab9efa
children 7e892d19f483
files asterisk/receipt e3/receipt itaka/receipt open-vm-tools/receipt slib/receipt wput/receipt
line diff
     1.1 --- a/asterisk/receipt	Thu Apr 27 10:14:20 2017 +0200
     1.2 +++ b/asterisk/receipt	Fri Apr 28 08:52:32 2017 +0200
     1.3 @@ -77,6 +77,8 @@
     1.4  	cp -a $install/usr/lib $fs/usr
     1.5  	cp -a $install/usr/sbin $fs/usr
     1.6  	cp -a $stuff/*/ $fs
     1.7 +	rm -f $fs/usr/lib/libasteriskssl.so
     1.8 +	ln -s libasteriskssl.so.1 $fs/usr/lib/libasteriskssl.so
     1.9  }
    1.10  
    1.11  # Rules to configure package
     2.1 --- a/e3/receipt	Thu Apr 27 10:14:20 2017 +0200
     2.2 +++ b/e3/receipt	Fri Apr 28 08:52:32 2017 +0200
     2.3 @@ -27,4 +27,8 @@
     2.4  {
     2.5  	mkdir -p $fs/usr
     2.6  	cp -R $install/bin $fs/usr
     2.7 +	for i in $(cd $fs/usr/bin; ls e3?*); do
     2.8 +		rm -f $fs/usr/bin/$i
     2.9 +		ln -s e3 $fs/usr/bin/$i
    2.10 +	done
    2.11  }
     3.1 --- a/itaka/receipt	Thu Apr 27 10:14:20 2017 +0200
     3.2 +++ b/itaka/receipt	Fri Apr 28 08:52:32 2017 +0200
     3.3 @@ -24,7 +24,7 @@
     3.4  genpkg_rules()
     3.5  {
     3.6  	mkdir -p $fs/usr/share
     3.7 -	cp -a $install/usr/bin $fs/usr
     3.8  	cp -a $install/usr/lib $fs/usr
     3.9  	cp -a $install/usr/share/itaka $fs/usr/share
    3.10 +	ln -s  ../lib/itaka/itaka.py $fs/usr/bin/itaka
    3.11  }
     4.1 --- a/open-vm-tools/receipt	Thu Apr 27 10:14:20 2017 +0200
     4.2 +++ b/open-vm-tools/receipt	Fri Apr 28 08:52:32 2017 +0200
     4.3 @@ -56,11 +56,10 @@
     4.4  	cp $stuff/network $fs/etc/vmware-tools/scripts/vmware/network
     4.5  	chmod 755 $fs/etc/vmware-tools/scripts/vmware/network
     4.6  
     4.7 -	cp -a $install/sbin $fs/sbin
     4.8 -
     4.9  	cp -a $install/usr/include $fs/usr
    4.10  	cp -a $install/usr/bin $fs/usr
    4.11  	cp -a $install/usr/sbin $fs/usr
    4.12 +	ln -s ../usr/sbin/mount.vmhgfs $fs/sbin/mount.vmhgfs
    4.13  
    4.14  	cp -a $install/usr/share/open-vm-tools $fs/usr/share
    4.15  
     5.1 --- a/slib/receipt	Thu Apr 27 10:14:20 2017 +0200
     5.2 +++ b/slib/receipt	Fri Apr 28 08:52:32 2017 +0200
     5.3 @@ -33,6 +33,8 @@
     5.4  genpkg_rules()
     5.5  {
     5.6  	cp -a $install/* $fs
     5.7 +	rm -f $fs/usr/share/guile/site
     5.8 +	ln -s ../slib $fs/usr/share/guile/site
     5.9  }
    5.10  
    5.11  post_install()
     6.1 --- a/wput/receipt	Thu Apr 27 10:14:20 2017 +0200
     6.2 +++ b/wput/receipt	Fri Apr 28 08:52:32 2017 +0200
     6.3 @@ -29,4 +29,6 @@
     6.4  {
     6.5  	mkdir -p $fs/usr
     6.6  	cp -a $install/usr/bin $fs/usr
     6.7 +	rm -f $fs/usr/bin/wdel
     6.8 +	ln -s wput $fs/usr/bin/wdel
     6.9  }