Skip to content

Commit

Permalink
fix(migrate.sh)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesfize committed Nov 19, 2024
1 parent 5967739 commit df19426
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
revision = "c1a6b0793360"
down_revision = "aed662bbd88a"
branch_labels = None
depends_on = None
depends_on = ("5e882af04ff6",)


def upgrade():
Expand Down
3 changes: 3 additions & 0 deletions install/migration/migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ source "${newdir}/backend/venv/bin/activate"

# before 2.15 - If gn_module_import module previously installed
if [ -d ${olddir}/frontend/external_modules/import ];then
source ${olddir}/backend/venv/bin/activate
pip uninstall gn_module_import -y # require when git enabled
rm ${olddir}/frontend/external_modules/import
source deactivate
fi

echo "Installation des modules externes …"
Expand Down

0 comments on commit df19426

Please sign in to comment.