KanoComputing / kano-settings

Graphic tool to setup Kanux: email, keyboard, audio, display, wifi...
GNU General Public License v2.0
15 stars 13 forks source link

Fix deb version of PAM all caps naming #501

Closed radujipa closed 6 years ago

radujipa commented 6 years ago

When this module was transitioned from pip (0.1.4) to deb (0.4.2-13.1), the version in Raspbian contained an uppercase name for the module. This method of importing fixes this and accounts for the pkg being fixed in the future to be lowercase.

wizofe commented 6 years ago

That is if we are sure we are transitioning from asking for pinned versions to any >= versions though. As the pinned version is still:

kanux@cc548b1c3291:~$ dr list versions python-pam
dr WARN This subcommand is deprecated, please use builds instead
dr info Listing all builds of python-pam
dr info   0.1.4

Which could potentially cause problems, thinking, if the packages aren't 100% compat?