devstructure / blueprint

Reverse engineer server configuration
http://devstructure.com/
Other
2.15k stars 132 forks source link

Debian multi-arch support fix #137

Closed cpbills closed 11 years ago

cpbills commented 11 years ago

In Debian Squeeze and previous, 'dpkg --print-foreign-architectures' fails and can be used to check for multi-arch.

If 'dpkg --print-foreign-architectures' fails, the format string should be 'Package' and when it succeeds, 'binary:Package' is used instead.

Tested on Debian Squeeze, Debian Wheezy and Ubuntu 13.04