##// 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 @check("debhelper", "debian packaging tools")
574 @check("debhelper", "debian packaging tools")
575 def has_debhelper():
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 dpkg = matchoutput('dpkg --version',
578 dpkg = matchoutput('dpkg --version',
577 br"Debian `dpkg' package management program")
579 br"Debian .dpkg' package management program")
578 dh = matchoutput('dh --help',
580 dh = matchoutput('dh --help',
579 br'dh is a part of debhelper.', ignorestatus=True)
581 br'dh is a part of debhelper.', ignorestatus=True)
580 dh_py2 = matchoutput('dh_python2 --help',
582 dh_py2 = matchoutput('dh_python2 --help',
General Comments 0
You need to be logged in to leave comments. Login now