Apply hold after checks
This commit is contained in:
parent
9fdac92c9b
commit
c4720d9508
|
@ -96,7 +96,6 @@ function mesh_install_nodejs {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$mesh_install_nodejs_prefix apt-get -yq install nodejs
|
$mesh_install_nodejs_prefix apt-get -yq install nodejs
|
||||||
$mesh_install_nodejs_prefix apt-mark -q hold nodejs
|
|
||||||
|
|
||||||
if [ -f "$rootdir/usr/bin/nodejs" ]; then
|
if [ -f "$rootdir/usr/bin/nodejs" ]; then
|
||||||
cp "$rootdir/usr/bin/nodejs" "$rootdir/usr/bin/node"
|
cp "$rootdir/usr/bin/nodejs" "$rootdir/usr/bin/node"
|
||||||
|
@ -106,6 +105,8 @@ function mesh_install_nodejs {
|
||||||
cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
|
cp "$rootdir/usr/bin/node" "$rootdir/usr/local/bin/node"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
$mesh_install_nodejs_prefix apt-mark -q hold nodejs
|
||||||
|
|
||||||
if [ ! -f "${rootdir}/usr/bin/node" ]; then
|
if [ ! -f "${rootdir}/usr/bin/node" ]; then
|
||||||
if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
|
if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
|
||||||
if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then
|
if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then
|
||||||
|
|
Loading…
Reference in New Issue