Update debianInstaller.sh
This commit is contained in:
parent
777a4b4002
commit
9c3bbcfc9a
@ -6,8 +6,8 @@ then
|
|||||||
echo "Your Debian version is obsolated."
|
echo "Your Debian version is obsolated."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
INREPO=$(cat /etc/apt/sources.list|grep -c jessie-cran35)
|
#INREPO=$(cat /etc/apt/sources.list|grep -c jessie-cran35)
|
||||||
if (( $(echo "$DEBIAN_VERSION < 9 && $INREPO != 0" | bc -l )))
|
if (( $(echo "$DEBIAN_VERSION < 9" | bc -l )))
|
||||||
then
|
then
|
||||||
apt-get install apt-transport-https
|
apt-get install apt-transport-https
|
||||||
apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
|
apt-key adv --keyserver keys.gnupg.net --recv-key 'E19F5F87128899B192B1A2C2AD5F960A256A04AF'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user