separate gnutls for Trusty
This commit is contained in:
@ -16,17 +16,22 @@ then
|
|||||||
build-essential libssl-dev ncurses-dev bison flex \
|
build-essential libssl-dev ncurses-dev bison flex \
|
||||||
perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid \
|
perl libtool libcurl4-openssl-dev libpcre3-dev tcl tcl-dev uuid \
|
||||||
uuid-dev libsqlite3-dev
|
uuid-dev libsqlite3-dev
|
||||||
sudo apt-get install -y --force-yes libgnutls30
|
## separatelibgnutls installation process for Ubuntu Trusty
|
||||||
res1=$?
|
cat /etc/*release | grep "Trusty"
|
||||||
sudo apt-get install -y --force-yes libgnutls-dev
|
if [ $? == 0 ]
|
||||||
if [ $? != 0 ] || [ $res1 != 0 ]
|
|
||||||
then
|
then
|
||||||
sudo apt-get install -y --force-yes libgnutls28-dev
|
sudo apt-get install -y --force-yes libgnutls-dev libgcrypt11-dev
|
||||||
fi
|
else
|
||||||
sudo apt-get install -y --force-yes libgcrypt20-dev
|
sudo apt-get install -y --force-yes libgnutls30 libgnutls-dev
|
||||||
if [ $? != 0 ]
|
if [ $? != 0 ]
|
||||||
then
|
then
|
||||||
sudo apt-get install -y --force-yes libgcrypt11-dev
|
sudo apt-get install -y --force-yes libgnutls28-dev
|
||||||
|
fi
|
||||||
|
sudo apt-get install -y --force-yes libgcrypt20-dev
|
||||||
|
if [ $? != 0 ]
|
||||||
|
then
|
||||||
|
sudo apt-get install -y --force-yes libgcrypt11-dev
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
## RPM-based distro
|
## RPM-based distro
|
||||||
|
Reference in New Issue
Block a user