forked from ScoDoc/DocScoDoc
Modifie script d'upgrade pour éviter les 'kept back'
This commit is contained in:
parent
6c747b1f0e
commit
5e2e36cfab
@ -1,7 +1,7 @@
|
|||||||
# -*- mode: python -*-
|
# -*- mode: python -*-
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
SCOVERSION = "9.0.64"
|
SCOVERSION = "9.0.65"
|
||||||
|
|
||||||
SCONAME = "ScoDoc"
|
SCONAME = "ScoDoc"
|
||||||
|
|
||||||
|
@ -25,6 +25,10 @@ check_uid_root "$0"
|
|||||||
if [ -z "$SCODOC_UPGRADE_RUNNING" ]
|
if [ -z "$SCODOC_UPGRADE_RUNNING" ]
|
||||||
then
|
then
|
||||||
apt-get update && apt-get -y dist-upgrade
|
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
|
fi
|
||||||
systemctl restart redis
|
systemctl restart redis
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
|
Loading…
Reference in New Issue
Block a user