Ubuntu 16.04.1

This commit is contained in:
enoch85 2016-07-25 23:24:36 +02:00
parent a6bb714f11
commit 43e20fb15c
3 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ set -e
# Nextcloud version
STABLEVERSION="nextcloud-9.0.52"
# Ubuntu version
DISTRO=$(grep -ic "Ubuntu 16.04 LTS" /etc/lsb-release)
DISTRO=$(grep -ic "Ubuntu 16.04.1 LTS" /etc/lsb-release)
# Nextcloud apps
CONVER=v1.3.0.0
CONVER_FILE=contacts.tar.gz
@ -58,9 +58,9 @@ fi
if [ $DISTRO -eq 1 ]
then
echo "Ubuntu 16.04 LTS OK!"
echo "Ubuntu 16.04.1 LTS OK!"
else
echo "Ubuntu 16.04 LTS is required to run this script."
echo "Ubuntu 16.04.1 LTS is required to run this script."
echo "Please install that distro and try again."
exit 1
fi

View File

@ -2,7 +2,7 @@
# Tech and Me, ©2016 - www.techandme.se
DISTRO=$(grep -ic "Ubuntu 16.04 LTS" /etc/lsb-release)
DISTRO=$(grep -ic "Ubuntu 16.04.1 LTS" /etc/lsb-release)
PHPMYADMINDIR=/usr/share/phpmyadmin
WANIP=$(dig +short myip.opendns.com @resolver1.opendns.com)
ADDRESS=$(hostname -I | cut -d ' ' -f 1)
@ -23,9 +23,9 @@ fi
if [ $DISTRO -eq 1 ]
then
echo "Ubuntu 16.04 LTS OK!"
echo "Ubuntu 16.04.1 LTS OK!"
else
echo "Ubuntu 16.04 LTS is required to run this script."
echo "Ubuntu 16.04.1 LTS is required to run this script."
echo "Please install that distro and try again."
exit 1
fi

View File

@ -3,7 +3,7 @@
# Tech and Me - www.techandme.se - ©2016
# Ubuntu 16.04 with php 7
DISTRO=$(grep -ic "Ubuntu 16.04 LTS" /etc/lsb-release)
DISTRO=$(grep -ic "Ubuntu 16.04.1 LTS" /etc/lsb-release)
SCRIPTS=/var/scripts
NCPATH=/var/www/nextcloud
REDIS_CONF=/etc/redis/redis.conf
@ -16,9 +16,9 @@ REDIS_SOCK=/var/run/redis/redis.sock
if [ $DISTRO -eq 1 ]
then
echo "Ubuntu 16.04 LTS OK!"
echo "Ubuntu 16.04.1 LTS OK!"
else
echo "Ubuntu 16.04 LTS is required to run this script."
echo "Ubuntu 16.04.1 LTS is required to run this script."
echo "Please install that distro and try again."
exit 1
fi