Browse Source

Fixing snap store rejection

Signed-off-by: Ondrej Kubik <ondrej.kubik@canonical.com>
Ondrej Kubik 7 years ago
parent
commit
3cb356eb1d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      snapcraft.yaml

+ 2 - 2
snapcraft.yaml

@@ -76,9 +76,8 @@ parts:
             - node-gyp
             - node-pre-gyp
             - fibers@2.0.0
-        stage-packages:
-            - ca-certificates
         build-packages:
+            - ca-certificates
             - apt-utils
             - python
             - g++
@@ -118,6 +117,7 @@ parts:
         install: |
             cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
             cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
+            rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
         organize:
             README: README.wekan