wok-6.x diff rox-filer/receipt @ rev 1137
Fix post_install for subdir install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 12:27:06 2008 +0000 (2008-07-24) |
parents | 54f3481de448 |
children | 65d3dfc87776 |
line diff
1.1 --- a/rox-filer/receipt Sun Jul 06 16:49:01 2008 +0200 1.2 +++ b/rox-filer/receipt Thu Jul 24 12:27:06 2008 +0000 1.3 @@ -63,16 +63,14 @@ 1.4 # Check /usr/share/icons/ROX 1.5 post_install() 1.6 { 1.7 - . /etc/init.d/rc.functions 1.8 - 1.9 - if [ -e /usr/share/icons/ROX ]; then 1.10 + if [ -e $1/usr/share/icons/ROX ]; then 1.11 echo "" 1.12 echo "/usr/share/icons/ROX exists" 1.13 else 1.14 echo "" 1.15 echo "/usr/share/icons/ROX doesn't exists" 1.16 echo -n "linking /usr/share/icons/ROX to /usr/share/icons/Tango" 1.17 - ln -s /usr/share/icons/Tango /usr/share/icons/ROX 1.18 + ln -s /usr/share/icons/Tango $1/usr/share/icons/ROX 1.19 status 1.20 fi 1.21 }