Commit 0e6882ad authored by Philip Müller's avatar Philip Müller

[util.sh] update os-release path

parent 0f4672a6
......@@ -174,17 +174,17 @@ get_distid(){
}
get_disturl(){
source /etc/os-release
source /usr/lib/os-release
echo "${HOME_URL}"
}
get_osname(){
source /etc/os-release
source /usr/lib/os-release
echo "${NAME}"
}
get_osid(){
source /etc/os-release
source /usr/lib/os-release
echo "${ID}"
}
......
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