wok diff minicom/receipt @ rev 12280

qtwitter: improve receipt
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 13:59:44 2012 +0200 (2012-04-15)
parents 612d6ddb234f
children bb009a6ef036
line diff
     1.1 --- a/minicom/receipt	Thu Mar 22 20:35:49 2012 +0100
     1.2 +++ b/minicom/receipt	Sun Apr 15 13:59:44 2012 +0200
     1.3 @@ -10,6 +10,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://alioth.debian.org/projects/minicom/"
     1.6  WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL"
     1.7 +CONFIG_FILES="/etc/minirc.dfl"
     1.8  
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11 @@ -31,14 +32,7 @@
    1.12  {
    1.13  	mkdir -p $fs/usr
    1.14  	cp -a $_pkg/usr/bin $fs/usr
    1.15 +	mkdir -p $fs/etc
    1.16 +	touch $fs$CONFIG_FILES
    1.17  }
    1.18  
    1.19 -post_install()
    1.20 -{
    1.21 -	touch /etc/minirc.dfl
    1.22 -}
    1.23 -
    1.24 -pre_remove()
    1.25 -{
    1.26 -	[ -e /etc/minirc.dfl ] && rm -f /etc/minirc.dfl
    1.27 -}