Skip to content
Snippets Groups Projects
Verified Commit 81bcc7c3 authored by David Beniamine's avatar David Beniamine
Browse files

Merge branch 'master' of...

parents aabbbaeb 24b71775
Branches
No related tags found
No related merge requests found
File moved
export MODS="Base MySQL Nextcloud Dolibarr TetrasBack"
export DOMAIN="dev.tetras-libre.fr" export DOMAIN="dev.tetras-libre.fr"
export SERVER_ADMIN="admin@dev.tetras-libre.fr" export SERVER_ADMIN="admin@dev.tetras-libre.fr"
export WEB_SERVER=apache2 export WEB_SERVER=apache2
......
...@@ -25,8 +25,6 @@ then ...@@ -25,8 +25,6 @@ then
fi fi
. `pwd`/main.env . `pwd`/main.env
MODS="initInstall installMySQL installNextcloud installDolibarr installTetrasBack"
for mod in $MODS for mod in $MODS
do do
if [ -f $mod.sh ] if [ -f $mod.sh ]
......
...@@ -18,9 +18,20 @@ ...@@ -18,9 +18,20 @@
aptitude update && aptitude upgrade aptitude update && aptitude upgrade
DIR=`dirname $0` DIR=`dirname $0`
. $DIR/main.env
. $DIR/installNextcloud.env . $DIR/installNextcloud.env
. $DIR/upgradeNextcloud.sh if [ -z "$MODS" ]
. $DIR/upgradeTetrasBack.sh then
. $DIR/upgradeDolibarr.sh echo "Please update your main.env to list the installed modules"
exit 1
fi
for mod in $MODS
do
script="$DIR/upgrade$mod.sh"
if [ -f $script ]
then
. $script
fi
done
systemctl restart systemd-logind systemctl restart systemd-logind
checkrestart checkrestart
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment