Commit a4899057 authored by gsell's avatar gsell

Ubuntu support addded to std::get_os_release()

parent be117060
...@@ -289,6 +289,9 @@ std.get_os_release_linux() { ...@@ -289,6 +289,9 @@ std.get_os_release_linux() {
RedHatEnterpriseServer | RedHatEnterprise | Scientific | rhel | centos | fedora ) RedHatEnterpriseServer | RedHatEnterprise | Scientific | rhel | centos | fedora )
echo "rhel${VERSION_ID%.*}" echo "rhel${VERSION_ID%.*}"
;; ;;
Ubuntu )
echo "Ubuntu${VERSION_ID%.*}"
;;
* ) * )
echo "Unknown" echo "Unknown"
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment