wok diff remind/receipt @ rev 15474

libee: race condition
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 09 21:39:14 2013 +0000 (2013-11-09)
parents 420025dab514
children 3b4e4318134e
line diff
     1.1 --- a/remind/receipt	Sun Dec 26 20:04:30 2010 +0000
     1.2 +++ b/remind/receipt	Sat Nov 09 21:39:14 2013 +0000
     1.3 @@ -5,12 +5,13 @@
     1.4  CATEGORY="utilities"
     1.5  SHORT_DESC="Sophisticated calendar and alarm program."
     1.6  MAINTAINER="paul@slitaz.org"
     1.7 -DEPENDS="tk tcl tcllib xorg-libXss"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.roaringpenguin.com/products/remind"
    1.10  WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL"
    1.11  TAGS="office calendar"
    1.12  
    1.13 +DEPENDS="tk tcl tcllib xorg-libXss"
    1.14 +
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 @@ -27,13 +28,13 @@
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p $fs/usr
    1.22 -	cp -a $_pkg/usr/bin $fs/usr
    1.23 +	cp -a $install/usr/bin $fs/usr
    1.24  }
    1.25  
    1.26  post_install()
    1.27  {
    1.28  	# Check for ~/.reminders file - needed for wyrd
    1.29 -	if [ ! -f $1/home/tux/.reminders ]; then
    1.30 +	if [ ! -f $1/home/tux/.reminders -a -d $1/home/tux ]; then
    1.31  		echo -n "Creating config file..."
    1.32  		touch $1/home/tux/.reminders 
    1.33  		chown tux:tux $1/home/tux/.reminders