Modifie script d'upgrade pour éviter les 'kept back'

This commit is contained in:
Emmanuel Viennet 2021-11-21 23:58:18 +01:00
parent 6c747b1f0e
commit 5e2e36cfab
2 changed files with 5 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# -*- mode: python -*-
# -*- coding: utf-8 -*-
SCOVERSION = "9.0.64"
SCOVERSION = "9.0.65"
SCONAME = "ScoDoc"

View File

@ -25,6 +25,10 @@ check_uid_root "$0"
if [ -z "$SCODOC_UPGRADE_RUNNING" ]
then
apt-get update && apt-get -y dist-upgrade
# 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
fi
systemctl restart redis
systemctl restart nginx