wok-next diff remind/receipt @ rev 11771
zsh: does not support bb :(
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 23 14:41:48 2012 +0100 (2012-02-23) |
parents | ee39027224dd |
children | 030a90dd8a1f |
line diff
1.1 --- a/remind/receipt Mon Nov 01 23:41:51 2010 +0000 1.2 +++ b/remind/receipt Thu Feb 23 14:41:48 2012 +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 +