Commit 64601be5 authored by nikaeinn's avatar nikaeinn
Browse files

Minor update to build_m5g script to support Ubuntu 18.04

parent 90a8446c
......@@ -124,15 +124,15 @@ case "$os" in
rhel) os_base="fedora"; os_pm="yum"; os_cmake="cmake3" ;;
centos) os_base="fedora"; os_pm="yum"; os_cmake="cmake3" ;;
debian) os_base="debian"; os_pm="apt-get"; os_cmake="cmake" ;;
ubuntu) os_base="debian"; os_pm="apt-get"; os_cmake="cmake" ;;
ubuntu) os_base="debian"; os_pm="apt"; os_cmake="cmake" ;;
esac
check_supported_os_dist() {
case "$os_dist" in
"ubuntu17.10") return 0 ;;
"ubuntu18.04") return 0 ;;
"ubuntu17.10") return 0 ;;
"ubuntu17.04") return 0 ;;
"ubuntu16.04") return 0 ;;
"ubuntu14.04") return 0 ;;
"fedora24") return 0 ;;
"rhel7") return 0 ;;
"centos7") return 0 ;;
......@@ -203,10 +203,8 @@ install_required_packages(){
libyaml-dev \
python-tk \
doxygen \
nodejs-legacy \
npm \
curl
install_python_packages
install_npm_packages
......
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