Browse Source

Try to fix Snap.

Lauri Ojansivu 5 years ago
parent
commit
0009c4c650
1 changed files with 1 additions and 1 deletions
  1. 1 1
      snapcraft.yaml

+ 1 - 1
snapcraft.yaml

@@ -128,7 +128,7 @@ parts:
             # Change back to Wekan source directory
             cd ../../../..
             cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
-            mkdir -p $SNAPCRFT_PART_INSTALL/bin
+            rm -rf $SNAPCRFT_PART_INSTALL/bin
             cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
             rm -f $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
             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