mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 18:13:08 +02:00
Ubuntu support addded to std::get_os_release()
This commit is contained in:
@@ -289,6 +289,9 @@ std.get_os_release_linux() {
|
||||
RedHatEnterpriseServer | RedHatEnterprise | Scientific | rhel | centos | fedora )
|
||||
echo "rhel${VERSION_ID%.*}"
|
||||
;;
|
||||
Ubuntu )
|
||||
echo "Ubuntu${VERSION_ID%.*}"
|
||||
;;
|
||||
* )
|
||||
echo "Unknown"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user