Browse Source

Two stage package install

Because it's possible for npm to fail if it has been upgraded
Bob Mottram 8 years ago
parent
commit
c5f7f36078
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-app-ipfs

+ 2
- 1
src/freedombone-app-ipfs View File

@@ -205,7 +205,8 @@ function install_ipfs_js {
205 205
         return
206 206
     fi
207 207
 
208
-    apt-get -y install npm libpam0g-dev fuse
208
+    apt-get -y install npm
209
+    apt-get -y install libpam0g-dev fuse
209 210
 
210 211
     npm cache clean -f
211 212
     npm install -g n