Merge pull request 'execute migrate_logos as scodoc (not root)' (#224) from jmplace/ScoDoc-Lille:fix_migrate_logo_as_root into master

Reviewed-on: https://scodoc.org/git/ScoDoc/ScoDoc/pulls/224
This commit is contained in:
Emmanuel Viennet 2021-12-16 16:28:41 +01:00
commit 3ec5cef3c0

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" 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 # ----- 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 # --- Si migration "en place", désactive ScoDoc 7