From 25668eb7c4ec69b1788c4296950792e38963c834 Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Fri, 27 Apr 2018 13:23:09 +0300 Subject: [PATCH] Try to fix snap --- snapcraft.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/snapcraft.yaml b/snapcraft.yaml index 98e343751..3c1dbb4ef 100644 --- a/snapcraft.yaml +++ b/snapcraft.yaml @@ -138,10 +138,11 @@ parts: meteor npm install --allow-superuser meteor build .build --directory --allow-superuser cp -f fix-download-unicode/cfs_access-point.txt .build/bundle/programs/server/packages/cfs_access-point.js - pushd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt + oldpath=`pwd` + cd .build/bundle/programs/server/npm/node_modules/meteor/npm-bcrypt rm -rf node_modules/bcrypt meteor npm install --save bcrypt - popd + cd $oldpath npm install meteor npm install --save bcrypt cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/