1
0
forked from ScoDoc/ScoDoc

execute migrate_logos as scodoc (not root)

This commit is contained in:
Jean-Marie Place 2021-12-15 23:03:03 +01:00
parent 79e2c9476b
commit 051e0d24e2

View File

@ -275,7 +275,7 @@ done
su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask migrate-scodoc7-dept-archives)" "$SCODOC_USER" || die "Erreur de la post-migration des archives"
# ----- Post-Migration: renomme logos en fonction des nouveaux ids
su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask migrate-scodoc7-dept-logos)" || die "Erreur de la post-migration des logos"
su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask migrate-scodoc7-dept-logos)" "$SCODOC_USER" || die "Erreur de la post-migration des logos"
# --- Si migration "en place", désactive ScoDoc 7