hplip/hplip-osname-mismatch.patch
Zdenek Dohnal 43689ff8e0 1985251 - Incorrect permission for gpg directory
1987141 - hp-plugin installs malformed udev files
fixed warning: redhatenterpriselinux distro is not found in AUTH_TYPES
2021-07-30 07:46:03 +02:00

14 lines
401 B
Diff

diff --git a/base/password.py b/base/password.py
index bff9f80..269ebd8 100644
--- a/base/password.py
+++ b/base/password.py
@@ -97,7 +97,7 @@ def get_distro_name():
os_name = name.read().strip()
name.close()
- os_name = os_name.lower()
+ os_name = os_name.lower().replace(' ','')
if "redhatenterprise" in os_name:
os_name = 'rhel'
elif "suse" in os_name: