Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:please_try_again:Fedora
os-prober
os-prober-lsb-long.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File os-prober-lsb-long.patch of Package os-prober
Index: os-prober/os-probes/mounted/common/40lsb =================================================================== --- os-prober.orig/os-probes/mounted/common/40lsb +++ os-prober/os-probes/mounted/common/40lsb @@ -19,17 +19,20 @@ exit 1 fi +codename=$(lsb_field "$file" DISTRIB_CODENAME) release=$(lsb_field "$file" DISTRIB_RELEASE) if [ -z "$release" ]; then release=$(lsb_field "$file" DISTRIB_CODENAME) fi description=$(lsb_field "$file" DISTRIB_DESCRIPTION) if [ -z "$description" ]; then - description=$(lsb_field "$file" DISTRIB_CODENAME) + description=$codename fi if [ -n "$description" ]; then - if [ -n "$release" ]; then + if [ -n "$codename" ]; then + long="$description ($codename)" + elif [ -n "$release" ]; then long="$description ($release)" else long="$description"
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