Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
smolt
smolt-1.1.1.1-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File smolt-1.1.1.1-config.patch of Package smolt
--- client/config.py +++ client/config.py @@ -11,10 +11,10 @@ #For Redhat -try: - OS = file('/etc/redhat-release').read().strip() -except IOError: - OS = "Shadowman!" +#try: +# OS = file('/etc/redhat-release').read().strip() +#except IOError: +# OS = "Shadowman!" HW_UUID = "/etc/smolt/uuid" @@ -29,12 +29,12 @@ FS_MOUNTS=commands.getoutput('rpm -ql filesystem').split('\n') ##For SuSE -#try: -# OS = file('/etc/SuSE-release').read().split('\n')[0].strip() -#except IOError: -# OS = "It's a Lizard man!, It changes Colours!" -# -# +try: + OS = file('/etc/SuSE-release').read().split('\n')[0].strip() +except IOError: + OS = "It's a Lizard man!, It changes Colours!" + + #For Debian #try: #this is a bit of a kludge, as /etc/debian-release is
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