소스 검색

Apply hold after checks

Bob Mottram 7 년 전
부모
커밋
c4720d9508
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2
    1
      src/freedombone-utils-nodejs

+ 2
- 1
src/freedombone-utils-nodejs 파일 보기

@@ -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