[Pkg-voip-commits] r2223 - zaptel/trunk/debian

Mark Purcell msp at costa.debian.org
Thu Aug 10 22:19:04 UTC 2006


Author: msp
Date: 2006-08-10 22:19:03 +0000 (Thu, 10 Aug 2006)
New Revision: 2223

Modified:
   zaptel/trunk/debian/rules
Log:
remove post{inst,rm} from debian/rules

Modified: zaptel/trunk/debian/rules
===================================================================
--- zaptel/trunk/debian/rules	2006-08-10 22:17:16 UTC (rev 2222)
+++ zaptel/trunk/debian/rules	2006-08-10 22:19:03 UTC (rev 2223)
@@ -60,11 +60,6 @@
 	dh_compress
 	dh_fixperms
 	dh_installdeb
-	# Note: I don't want to edit the file in the debian/ directory itself.
-	# I figure that there must be existing fuctionality in dpkg/debhelper. How?
-	sed -i -e 's/_KVERS_/$(KVERS)/' \
-	  debian/$(PKGNAME)/DEBIAN/postinst \
-	  debian/$(PKGNAME)/DEBIAN/postrm
 	dh_gencontrol -- -v$(VERSION)
 	dh_md5sums
 	dh_builddeb --destdir=$(DEB_DESTDIR)
@@ -142,9 +137,6 @@
 	  debian/control \
 	  debian/control.modules.in \
 	  $(TARDIR)/debian/
-	mv $(TARDIR)/debian/zaptel-modules.postinst $(TARDIR)/debian/postinst 
-	cp debian/zaptel-modules.postinst $(TARDIR)/debian/postinst
-	cp debian/zaptel-modules.postrm $(TARDIR)/debian/postrm
 	
 	tar cjf debian/$(PREFIX)-source/usr/src/$(PREFIX).tar.bz2 \
 	  -C $(TARPARDIR) modules




More information about the Pkg-voip-commits mailing list