[Pkg-virtualbox-commits] [virtualbox-ext-pack] 01/01: Simplify postinst generation from Adam Conrad

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Tue Oct 17 16:30:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to branch master
in repository virtualbox-ext-pack.

commit 64ec910f489afccdeaaecadb43e69c126ddeeb8b
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Tue Oct 17 18:30:26 2017 +0200

    Simplify postinst generation from Adam Conrad
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 68bede4..98df998 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ override_dh_clean:
 	dh_clean debian/postinst
 
 override_dh_installdeb:
-	cat debian/postinst.in | sed 's/#VERSION#/$(DEB_VERSION_UPSTREAM)/g' > debian/postinst
+	sed 's/#VERSION#/$(DEB_VERSION_UPSTREAM)/g' < debian/postinst.in > debian/postinst
 	dh_installdeb
 
 override_dh_gencontrol:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/virtualbox-ext-pack.git



More information about the Pkg-virtualbox-commits mailing list