Fix up tor fact to not complain if the package has been purged
authorTollef Fog Heen <tfheen@err.no>
Sat, 1 Jul 2017 07:42:04 +0000 (09:42 +0200)
committerTollef Fog Heen <tfheen@err.no>
Sat, 1 Jul 2017 07:42:04 +0000 (09:42 +0200)
commit5fd0bda656d408bccc971f644b09cde5c3dfc395
tree44649c7cfc195b27b6aedb132c167feca3920632
parent8518814d3c5330902bd83d12055f43babc293255
Fix up tor fact to not complain if the package has been purged

`dpkg -l $package` will return 0 if the package has been purged, so a
proper test for it instead.  Also add a pair of quotes to make `dpkg
--compare-versions` not complain.
modules/debian_org/lib/facter/software.rb