Source : dibs
-Version :0.99.22
+Version :0.99.23
Maintainer : taejun ha<taejun.ha@samsung.com>, jiil hyoun <jiil.hyoun@samsung.com>, donghyuk yang <donghyouk.yang@samsung.com>, donghee yang <donghee.yang@samsung.com>, sungmin kim <dev.sungmin.kim@samsung.com
Package : dibs
# check if the os is unix-like
def Utils.is_unix_like_os(os_name)
if os_name.start_with? "ubuntu-" or
+ os_name.start_with? "opensuse-" or
os_name.start_with?"macos-" then
return true
else
# check if the os is linux-like
def Utils.is_linux_like_os(os_name)
- if os_name.start_with? "ubuntu-" then
+ if os_name.start_with? "ubuntu-" or
+ os_name.start_with? "opensuse-" then
return true
else
return false
def Utils.get_os_category(os_name)
- if os_name.start_with? "ubuntu-" then
+ if os_name.start_with? "ubuntu-" or os_name.start_with? "opensuse-" then
return "linux"
elsif os_name.start_with?"macos-" then
return "macos"