Skip to content
Snippets Groups Projects
Commit c4720d95 authored by Bob Mottram's avatar Bob Mottram
Browse files

Apply hold after checks

parent 9fdac92c
No related branches found
No related tags found
No related merge requests found
......@@ -96,7 +96,6 @@ function mesh_install_nodejs {
fi
$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
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"
fi
$mesh_install_nodejs_prefix apt-mark -q hold nodejs
if [ ! -f "${rootdir}/usr/bin/node" ]; then
if [ ! -f "${rootdir}/usr/local/bin/node" ]; then
if [ ! -f "${rootdir}/usr/bin/nodejs" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment