Browse Source

Apply hold after checks

Bob Mottram 7 years ago
parent
commit
c4720d9508
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/freedombone-utils-nodejs

+ 2
- 1
src/freedombone-utils-nodejs View File

96
     fi
96
     fi
97
 
97
 
98
     $mesh_install_nodejs_prefix apt-get -yq install nodejs
98
     $mesh_install_nodejs_prefix apt-get -yq install nodejs
99
-    $mesh_install_nodejs_prefix apt-mark -q hold nodejs
100
 
99
 
101
     if [ -f "$rootdir/usr/bin/nodejs" ]; then
100
     if [ -f "$rootdir/usr/bin/nodejs" ]; then
102
         cp "$rootdir/usr/bin/nodejs" "$rootdir/usr/bin/node"
101
         cp "$rootdir/usr/bin/nodejs" "$rootdir/usr/bin/node"
106
         cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
105
         cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
107
     fi
106
     fi
108
 
107
 
108
+    $mesh_install_nodejs_prefix apt-mark -q hold nodejs
109
+
109
     if [ ! -f "${rootdir}/usr/bin/node" ]; then
110
     if [ ! -f "${rootdir}/usr/bin/node" ]; then
110
         if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
111
         if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
111
             if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then
112
             if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then