wok-6.x diff remind/receipt @ rev 8488

get-xlite: unbreak download loop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 08 22:41:18 2011 +0100 (2011-02-08)
parents ee39027224dd
children 030a90dd8a1f
line diff
     1.1 --- a/remind/receipt	Mon Nov 01 23:41:51 2010 +0000
     1.2 +++ b/remind/receipt	Tue Feb 08 22:41:18 2011 +0100
     1.3 @@ -30,3 +30,14 @@
     1.4  	cp -a $_pkg/usr/bin $fs/usr
     1.5  }
     1.6  
     1.7 +post_install()
     1.8 +{
     1.9 +	# Check for ~/.reminders file - needed for wyrd
    1.10 +	if [ ! -f $1/home/tux/.reminders ]; then
    1.11 +		echo -n "Creating config file..."
    1.12 +		touch $1/home/tux/.reminders 
    1.13 +		chown tux:tux $1/home/tux/.reminders
    1.14 +		status
    1.15 +	fi
    1.16 +}
    1.17 +