mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
Ubuntu 16.04.1
This commit is contained in:
parent
a6bb714f11
commit
43e20fb15c
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user