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-SUSE.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File os-prober-SUSE.patch of Package os-prober
Index: os-prober/os-probes/mounted/common/90linux-distro =================================================================== --- os-prober.orig/os-probes/mounted/common/90linux-distro +++ os-prober/os-probes/mounted/common/90linux-distro @@ -80,8 +80,8 @@ short="RedHat" long="$(cat "$dir/etc/redhat-release")" elif [ -e "$dir/etc/SuSE-release" ]; then - short="SuSE" - long="$(head -n 1 "$dir/etc/SuSE-release")" + short="SUSE" + long="$(sed '1s/[()]//g;s/CODENAME *= *\(.*\)/ (\1)/;/VERSION/d' $dir/etc/SuSE-release | tr -d "\n")" elif [ -e "$dir/etc/gentoo-release" ]; then short="Gentoo" long="$(cat "$dir/etc/gentoo-release")"
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