mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Snap: Added MongoDB 3 binaries for migrating to MongoDB 6. Part 2.
Thanks to xet7 !
This commit is contained in:
parent
b5a071f51e
commit
335f0451e0
1 changed files with 3 additions and 2 deletions
|
@ -197,10 +197,11 @@ parts:
|
|||
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
|
||||
rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
|
||||
# Migrate MongoDB 3 to 6
|
||||
git clone --depth 1 --branch main https://github.com/wekan/migratemongo
|
||||
rm -rf migratemongo/.git
|
||||
wget https://github.com/wekan/migratemongo/archive/refs/heads/main.zip
|
||||
unzip main.zip
|
||||
cp -pR migratemongo $SNAPCRAFT_PART_INSTALL/
|
||||
rm -rf migratemongo
|
||||
rm main.zip
|
||||
#rm -f $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
|
||||
# Delete phantomjs that is in accounts-lockout
|
||||
#rm -rf $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/lucasantoniassi_accounts-lockout/node_modules/phantomjs-prebuilt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue