Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
cobbler.10419
fix_sle_detection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_sle_detection.patch of Package cobbler.10419
Index: cobbler-2.6.6/cobbler/utils.py =================================================================== --- cobbler-2.6.6.orig/cobbler/utils.py +++ cobbler-2.6.6/cobbler/utils.py @@ -1001,7 +1001,10 @@ def check_dist(): """ import platform try: - return platform.linux_distribution()[0].lower().strip() + dist = platform.linux_distribution()[0].lower().strip() + if "suse" in dist: + dist = "suse" + return dist except AttributeError: return platform.dist()[0].lower().strip()
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor