wok-next diff childsplay/receipt @ rev 3384
Ren: pypdf -> python-pypdf
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 11 23:07:48 2009 +0000 (2009-06-11) |
parents | 1254f8783b56 |
children | 9e422122e0bd |
line diff
1.1 --- a/childsplay/receipt Thu Jun 11 02:15:26 2009 +0000 1.2 +++ b/childsplay/receipt Thu Jun 11 23:07:48 2009 +0000 1.3 @@ -38,3 +38,16 @@ 1.4 $fs/usr/share/locale/$lang/LC_MESSAGES 1.5 done 1.6 } 1.7 + 1.8 +# Remove the score file generated and point it to /var/games 1.9 +post_install () 1.10 +{ 1.11 + VARDIR="/var/games" 1.12 + DATADIR="/usr/share/childsplay/Data" 1.13 + SCOREFILE="childsplay.score" 1.14 + if [ -f $VARDIR/$SCOREFILE ] 1.15 + then 1.16 + rm $DATADIR/$SCOREFILE 1.17 + ln -s $VARDIR/$SCOREFILE $DATADIR/$SCOREFILE 1.18 + fi 1.19 +}