Skip to content
Snippets Groups Projects
Commit f32ee10d authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

realpath is not a valid package on ubuntu 18

parent 1148182a
No related branches found
No related tags found
No related merge requests found
Pipeline #2732 passed
......@@ -17,12 +17,24 @@ BASE_PKGS="
gcc-multilib
g++-multilib
autoconf
realpath
apt-libjsoncpp-dev
apt-libelf-dev
yum-libelf-devel
libstdc++6:i386
coreutils
makeself"
makeself
"
# realpath is not a candidate install package on u18
platform=$(lsb_release -d -s)
case "$platform" in
Ubuntu?18*)
;;
*)
BASE_PKGS="$BASE_PKGS realpath"
;;
esac
#
# base (ld):
......@@ -86,7 +98,7 @@ install_packs()
which apt-get 1> /dev/null 2> /dev/null
if [[ $? == 0 ]]; then
cmd="sudo apt-get install -y --ignore-missing $apters"
sudo apt-get install -y --ignore-missing $apters
sudo apt-get -y --ignore-missing install $apters
else
sudo yum install -y --skip-broken $yummers
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment