wok-4.x rev 12171
minicom: simplify receipt
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Mar 22 20:55:40 2012 +0100 (2012-03-22) |
parents | 612d6ddb234f |
children | a621445c6ebd |
files | minicom/receipt |
line diff
1.1 --- a/minicom/receipt Thu Mar 22 20:35:49 2012 +0100 1.2 +++ b/minicom/receipt Thu Mar 22 20:55:40 2012 +0100 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 -}