Skip to content

Commit

Permalink
Ubuntu 16.04.1
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 committed Jul 25, 2016
1 parent 6c2ead9 commit 0864635
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions production/owncloud_install_production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
set -e

# Ubuntu version
DISTRO=$(grep -ic "Ubuntu 16.04 LTS" /etc/lsb-release)
DISTRO=$(grep -ic "Ubuntu 16.04.1 LTS" /etc/lsb-release)
# ownCloud apps
CONVER=v1.2.0.0
CONVER_FILE=contacts.tar.gz
Expand Down Expand Up @@ -54,9 +54,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
Expand Down
6 changes: 3 additions & 3 deletions static/phpmyadmin_install_ubuntu16.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions static/redis-server-ubuntu16.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
OCPATH=/var/www/owncloud
REDIS_CONF=/etc/redis/redis.conf
Expand All @@ -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
Expand Down

0 comments on commit 0864635

Please sign in to comment.