wok-current diff remind/receipt @ rev 17085
ncmpcpp/receipt, remind/receipt, tiptop/receipt, tmux-mem-cpu-load/receipt: update user config file (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 25 10:52:38 2014 +0200 (2014-08-25) |
parents | 633aff33b052 |
children | 17c84cd0c81a |
line diff
1.1 --- a/remind/receipt Sun Aug 24 21:21:42 2014 +0200 1.2 +++ b/remind/receipt Mon Aug 25 10:52:38 2014 +0200 1.3 @@ -28,14 +28,15 @@ 1.4 # Rules to gen a SliTaz package suitable for Tazpkg. 1.5 genpkg_rules() 1.6 { 1.7 - mkdir -p $fs/usr 1.8 + mkdir -p $fs/usr $fs/etc/skel 1.9 + touch $fs/etc/skel/.reminders 1.10 cp -a $install/usr/bin $fs/usr 1.11 } 1.12 1.13 post_install() 1.14 { 1.15 # Check for ~/.reminders file - needed for wyrd 1.16 - for i in $(ls $1/home); do 1.17 + for i in $(ls $1/home 2> /dev/null); do 1.18 [ -f $1/home/$i/.reminders ] && continue 1.19 echo -n "Creating config file for $i ..." 1.20 touch $1/home/$i/.reminders