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