# HG changeset patch # User Dominique Corbex # Date 1332446140 -3600 # Node ID b9cf3c10b92eba48deb4d9187ab9ed3437f1ba2e # Parent 612d6ddb234f48a3483c4c4a1536a1225c9a4ed1 minicom: simplify receipt diff -r 612d6ddb234f -r b9cf3c10b92e minicom/receipt --- a/minicom/receipt Thu Mar 22 20:35:49 2012 +0100 +++ b/minicom/receipt Thu Mar 22 20:55:40 2012 +0100 @@ -10,6 +10,7 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://alioth.debian.org/projects/minicom/" WGET_URL="http://alioth.debian.org/frs/download.php/3195/$PACKAGE/$TARBALL" +CONFIG_FILES="/etc/minirc.dfl" # Rules to configure and make the package. compile_rules() @@ -31,14 +32,7 @@ { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr + mkdir -p $fs/etc + touch $fs$CONFIG_FILES } -post_install() -{ - touch /etc/minirc.dfl -} - -pre_remove() -{ - [ -e /etc/minirc.dfl ] && rm -f /etc/minirc.dfl -}