cleanup
This commit is contained in:
parent
ed24276356
commit
95c0caf4be
|
@ -76,7 +76,7 @@ if [ -n "${NODEJS_VER}" ]; then
|
||||||
rsync -Krl "${NODEJS_UNTAR}/" "$node_install_path/" || $sudo_cmd rsync -Krl "${NODEJS_UNTAR}/" "$node_install_path/"
|
rsync -Krl "${NODEJS_UNTAR}/" "$node_install_path/" || $sudo_cmd rsync -Krl "${NODEJS_UNTAR}/" "$node_install_path/"
|
||||||
else
|
else
|
||||||
# due to symlink issues on Arch Linux, don't copy the share directory
|
# due to symlink issues on Arch Linux, don't copy the share directory
|
||||||
rm -rf ${NODEJS_UNTAR}/{share}
|
rm -rf ${NODEJS_UNTAR}/share
|
||||||
echo $sudo_cmd cp -Hr "${NODEJS_UNTAR}/*" "$node_install_path/"
|
echo $sudo_cmd cp -Hr "${NODEJS_UNTAR}/*" "$node_install_path/"
|
||||||
cp -Hr "${NODEJS_UNTAR}"/* "$node_install_path/" || $sudo_cmd cp -Hr "${NODEJS_UNTAR}"/* "$node_install_path/"
|
cp -Hr "${NODEJS_UNTAR}"/* "$node_install_path/" || $sudo_cmd cp -Hr "${NODEJS_UNTAR}"/* "$node_install_path/"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue