summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGianfranco Costamagna <costamagnagianfranco@yahoo.it>2017-10-17 16:30:26 (GMT)
committerGianfranco Costamagna <costamagnagianfranco@yahoo.it>2017-10-17 16:30:26 (GMT)
commit64ec910f489afccdeaaecadb43e69c126ddeeb8b (patch)
treedccc6245ddfc670ed9add3674a5737a85a5f5675
parent964a6cf031d29777bec30b4ba78f6b21f4b5ed62 (diff)
Simplify postinst generation from Adam Conrad
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
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: