[Dh-make-php-commits] r290 - trunk
steinm at alioth.debian.org
steinm at alioth.debian.org
Tue Sep 18 06:03:02 UTC 2007
Author: steinm
Date: 2007-09-18 06:03:02 +0000 (Tue, 18 Sep 2007)
New Revision: 290
Modified:
trunk/dh-make-pear
Log:
- regard new postist and postrm files of pear packages
Modified: trunk/dh-make-pear
===================================================================
--- trunk/dh-make-pear 2007-09-18 06:02:22 UTC (rev 289)
+++ trunk/dh-make-pear 2007-09-18 06:03:02 UTC (rev 290)
@@ -9,7 +9,7 @@
# at http://www.gnu.org/.
PROGNAME=dh-make-pear
-PROGVERSION=0.2.6
+PROGVERSION=0.2.7
PREFIX=/usr
DEBPACKAGEPREFIX=php
@@ -174,3 +174,10 @@
sed -e "s/##pearpkgname##/${PHP_PKG_NAME}/g" \
${DEBTEMPDIR}/watch > ${SRCPACKAGEDIR}/debian/watch
+sed -e "s/##packagename##/${DEBPACKAGEPREFIX}-${PHP_PKG_LOWNAME}/g" \
+ ${DEBTEMPDIR}/postinst > ${SRCPACKAGEDIR}/debian/postinst
+chmod 755 ${SRCPACKAGEDIR}/debian/postinst
+
+sed -e "s/##pearpkgname##/${PHP_PKG_NAME}/g" \
+ ${DEBTEMPDIR}/prerm > ${SRCPACKAGEDIR}/debian/prerm
+chmod 755 ${SRCPACKAGEDIR}/debian/prerm
More information about the Dh-make-php-commits
mailing list