bugfix for Arch Linux sans rsync

This commit is contained in:
AJ ONeal 2018-07-26 22:00:40 +00:00
parent dddf31db8d
commit ed24276356
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ if [ -n "${NODEJS_VER}" ]; then
echo $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/"
# due to symlink issues on Arch Linux, don't copy the share directory
rm -rf ${NODEJS_UNTAR}/{share}
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/"