wok-6.x rev 15108
remind: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 14 17:04:21 2013 +0000 (2013-08-14) |
parents | f0df0a15bf50 |
children | 18261f3e9666 |
files | remind/receipt |
line diff
1.1 --- a/remind/receipt Wed Aug 14 16:53:30 2013 +0000 1.2 +++ b/remind/receipt Wed Aug 14 17:04:21 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