Bladeren bron

Apply hold after checks

Bob Mottram 7 jaren geleden
bovenliggende
commit
c4720d9508
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2
    1
      src/freedombone-utils-nodejs

+ 2
- 1
src/freedombone-utils-nodejs Bestand weergeven

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