Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
cobbler
fix_sle_detection.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_sle_detection.patch of Package cobbler
Index: cobbler-2.8.2/cobbler/utils.py =================================================================== --- cobbler-2.8.2.orig/cobbler/utils.py +++ cobbler-2.8.2/cobbler/utils.py @@ -983,7 +983,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