##// END OF EJS Templates
hghave: fix dpkg --version check to work on recent dpkg versions...
Kyle Lippincott -
r34395:dbf83230 default
parent child Browse files
Show More
@@ -573,8 +573,10 b' def has_docker():'
573 573
574 574 @check("debhelper", "debian packaging tools")
575 575 def has_debhelper():
576 # Some versions of dpkg say `dpkg', some say 'dpkg' (` vs ' on the first
577 # quote), so just accept anything in that spot.
576 578 dpkg = matchoutput('dpkg --version',
577 br"Debian `dpkg' package management program")
579 br"Debian .dpkg' package management program")
578 580 dh = matchoutput('dh --help',
579 581 br'dh is a part of debhelper.', ignorestatus=True)
580 582 dh_py2 = matchoutput('dh_python2 --help',
General Comments 0
You need to be logged in to leave comments. Login now