wok-6.x rev 7827
remind: add post install
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sun Dec 26 20:04:30 2010 +0000 (2010-12-26) |
parents | 36cbf3d918cd |
children | 2517bd1be6e7 |
files | remind/receipt |
line diff
1.1 --- a/remind/receipt Sun Dec 26 13:52:18 2010 +0000 1.2 +++ b/remind/receipt Sun Dec 26 20:04:30 2010 +0000 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 +