DEB pytde: Avoid unwanted use of Python 2 for the shebang,

which caused the Python 2 dependency to be set.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/185/head
Michele Calgaro 2 years ago committed by Slávek Banko
parent c8feb721f2
commit f1442fc65f
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -161,7 +161,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif endif
dh_compress -X.py -X.ui -X.dtd dh_compress -X.py -X.ui -X.dtd
dh_fixperms dh_fixperms
dh_python3 --no-dbg-cleaning dh_python3 --no-dbg-cleaning --shebang=/usr/bin/python3
dh_installdeb dh_installdeb
dh_shlibdeps -l /opt/trinity/lib dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol dh_gencontrol

@ -162,7 +162,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif endif
dh_compress -X.py -X.ui -X.dtd dh_compress -X.py -X.ui -X.dtd
dh_fixperms dh_fixperms
dh_python3 --no-dbg-cleaning dh_python3 --no-dbg-cleaning --shebang=/usr/bin/python3
dh_installdeb dh_installdeb
dh_shlibdeps -l /usr/lib/$(DEB_HOST_MULTIARCH) dh_shlibdeps -l /usr/lib/$(DEB_HOST_MULTIARCH)
dh_gencontrol dh_gencontrol

@ -161,7 +161,7 @@ ifeq (,$(findstring -i, $(DH_OPTIONS)))
endif endif
dh_compress -X.py -X.ui -X.dtd dh_compress -X.py -X.ui -X.dtd
dh_fixperms dh_fixperms
dh_python3 --no-dbg-cleaning dh_python3 --no-dbg-cleaning --shebang=/usr/bin/python3
dh_installdeb dh_installdeb
dh_shlibdeps -l /opt/trinity/lib dh_shlibdeps -l /opt/trinity/lib
dh_gencontrol dh_gencontrol

Loading…
Cancel
Save