Update script
This commit is contained in:
parent
65b5081c7d
commit
20896325ea
|
|
@ -103,7 +103,10 @@ function Ubuntu_prepare()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pkg-config --version >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
pkg-config --version >/dev/null 2>&1; ret=$?; if [[ 0 -ne $ret ]]; then
|
||||||
echo "Please install pkg-config"; exit -1;
|
echo "Installing pkg-config."
|
||||||
|
require_sudoer "sudo apt-get install -y --force-yes pkg-config"
|
||||||
|
sudo apt-get install -y --force-yes pkg-config; ret=$?; if [[ 0 -ne $ret ]]; then return $ret; fi
|
||||||
|
echo "The pkg-config is installed."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Tools for Ubuntu are installed."
|
echo "Tools for Ubuntu are installed."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user