forked from ScoDoc/DocScoDoc
execute migrate_logos as scodoc (not root)
This commit is contained in:
parent
79e2c9476b
commit
051e0d24e2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user