Commit 12fcce6b authored by Rafael Monnerat's avatar Rafael Monnerat

Improve OS Signature for better comparation

parent b9ac2fef
...@@ -37,7 +37,7 @@ class PackageManager: ...@@ -37,7 +37,7 @@ class PackageManager:
return self.getOSSignature() in signature_list return self.getOSSignature() in signature_list
def getOSSignature(self): def getOSSignature(self):
return "+++".join(patched_linux_distribution()) return "+++".join([i.strip().lower() for i in patched_linux_distribution()])
def getDistributionName(self): def getDistributionName(self):
return patched_linux_distribution()[0] return patched_linux_distribution()[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment