Procházet zdrojové kódy

Revert nodejs versions, otherwise ghost won't install

Bob Mottram před 7 roky
rodič
revize
6b74243de2
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6
    6
      src/freedombone-utils-nodejs

+ 6
- 6
src/freedombone-utils-nodejs Zobrazit soubor

35
 
35
 
36
 # change these versions at your peril. Things will often crash if you don't
36
 # change these versions at your peril. Things will often crash if you don't
37
 # have specifically the correct versions
37
 # have specifically the correct versions
38
-NODEJS_VERSION='7.10.0'
38
+NODEJS_VERSION='6.10.1'
39
 NODEJS_N_VERSION='2.1.7'
39
 NODEJS_N_VERSION='2.1.7'
40
-NPM_VERSION='4.2.0'
40
+NPM_VERSION='4.0.5'
41
 
41
 
42
 # This file keeps track of the apps needing nodejs
42
 # This file keeps track of the apps needing nodejs
43
 # so that it can be removed if tere are no apps which need it
43
 # so that it can be removed if tere are no apps which need it
47
     # Note: this has to be jessie for now
47
     # Note: this has to be jessie for now
48
     wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > ${rootdir}/root/node.gpg.key
48
     wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > ${rootdir}/root/node.gpg.key
49
     chroot "${rootdir}" apt-key add /root/node.gpg.key
49
     chroot "${rootdir}" apt-key add /root/node.gpg.key
50
-    echo "deb https://deb.nodesource.com/node_7.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list
51
-    echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list
50
+    echo "deb https://deb.nodesource.com/node_6.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list
51
+    echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list
52
     chroot "${rootdir}" apt-get update
52
     chroot "${rootdir}" apt-get update
53
     chroot "${rootdir}" apt-get -yq install nodejs curl
53
     chroot "${rootdir}" apt-get -yq install nodejs curl
54
 
54
 
152
         # Note: this has to be jessie for now
152
         # Note: this has to be jessie for now
153
         wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key
153
         wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key
154
         apt-key add /root/node.gpg.key
154
         apt-key add /root/node.gpg.key
155
-        echo "deb https://deb.nodesource.com/node_7.x jessie main" > /etc/apt/sources.list.d/nodesource.list
156
-        echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
155
+        echo "deb https://deb.nodesource.com/node_6.x jessie main" > /etc/apt/sources.list.d/nodesource.list
156
+        echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
157
 
157
 
158
         apt-get update
158
         apt-get update
159
 
159