wok diff nail/receipt @ rev 1613
Add xorg-setxkbmap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 20:39:05 2008 +0000 (2008-10-19) |
parents | 91d2cd4b9500 |
children | d314a27329ca |
line diff
1.1 --- a/nail/receipt Sun Jul 06 16:43:13 2008 +0200 1.2 +++ b/nail/receipt Sun Oct 19 20:39:05 2008 +0000 1.3 @@ -42,9 +42,9 @@ 1.4 # Check mailx 1.5 post_install() 1.6 { 1.7 - . /etc/init.d/rc.functions 1.8 + . $1/etc/init.d/rc.functions 1.9 1.10 - if [ -e /usr/bin/mailx ]; then 1.11 + if [ -e $1/usr/bin/mailx ]; then 1.12 echo "" 1.13 echo "/usr/bin/mailx exists" 1.14 echo -n "Do you want /usr/bin/nail for /usr/bin/mailx (y/N) ? : " 1.15 @@ -52,8 +52,8 @@ 1.16 if [ "$anser" == "y" ]; then 1.17 echo "" 1.18 echo -n "linking /usr/bin/mailx to /usr/bin/nail" 1.19 - rm /usr/bin/mailx 1.20 - ln -s /usr/bin/nail /usr/bin/mailx 1.21 + rm $1/usr/bin/mailx 1.22 + ln -s /usr/bin/nail $1/usr/bin/mailx 1.23 status 1.24 else 1.25 echo "" 1.26 @@ -62,7 +62,7 @@ 1.27 fi 1.28 else 1.29 echo -n "linking /usr/bin/mailx to /usr/bin/nail" 1.30 - ln -s /usr/bin/nail /usr/bin/mailx 1.31 + ln -s /usr/bin/nail $1/usr/bin/mailx 1.32 status 1.33 fi 1.34 }