Skip to content
Snippets Groups Projects
Commit 8c256fe7 authored by Emmanuel Viennet's avatar Emmanuel Viennet
Browse files

Fix upgrade script

parent 91af5704
No related branches found
No related tags found
No related merge requests found
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.7.10"
SCOVERSION = "9.7.11"
SCONAME = "ScoDoc"
......
......@@ -24,14 +24,12 @@ export DEBIAN_FRONTEND=noninteractive
check_uid_root "$0"
if [ -z "$SCODOC_UPGRADE_RUNNING" ]
then
apt-get update && apt-get -y dist-upgrade
apt-get update && apt-get -y dist-upgrade || alarm_admin "apt-get dist-upgrade failed"
# install spécifiquement scodoc9, utile si les dépendances Debian de scodoc9
# ont été changées, ce qui peut provoquer un
# "packages have been kept back"
apt install scodoc9 || alarm_admin "apt install scodoc9 failed"
fi
systemctl restart redis
systemctl restart nginx
systemctl restart scodoc9
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment