# HG changeset patch # User Pascal Bellard # Date 1376499861 0 # Node ID 030a90dd8a1fcb5d1cb8b2a33651c455bce1b56f # Parent f0df0a15bf50430b040b0a1de704531e180af52d remind: fix post_install diff -r f0df0a15bf50 -r 030a90dd8a1f remind/receipt --- a/remind/receipt Wed Aug 14 16:53:30 2013 +0000 +++ b/remind/receipt Wed Aug 14 17:04:21 2013 +0000 @@ -5,12 +5,13 @@ CATEGORY="utilities" SHORT_DESC="Sophisticated calendar and alarm program." MAINTAINER="paul@slitaz.org" -DEPENDS="tk tcl tcllib xorg-libXss" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.roaringpenguin.com/products/remind" WGET_URL="http://www.roaringpenguin.com/files/download/$TARBALL" TAGS="office calendar" +DEPENDS="tk tcl tcllib xorg-libXss" + # Rules to configure and make the package. compile_rules() { @@ -27,13 +28,13 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr } post_install() { # Check for ~/.reminders file - needed for wyrd - if [ ! -f $1/home/tux/.reminders ]; then + if [ ! -f $1/home/tux/.reminders -a -d $1/home/tux ]; then echo -n "Creating config file..." touch $1/home/tux/.reminders chown tux:tux $1/home/tux/.reminders