bugfix for Arch Linux sans rsync
This commit is contained in:
parent
dddf31db8d
commit
ed24276356
|
@ -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/"
|
||||
else
|
||||
# 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/"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue