diff --git a/node/.local/bin/install-node-home b/node/.local/bin/install-node-home index 5c05fec..3a92f29 100755 --- a/node/.local/bin/install-node-home +++ b/node/.local/bin/install-node-home @@ -11,7 +11,8 @@ CURRENT="${DEST}/current" extract_tarball "${URL}" "${DEST}/${VERSION}" "--strip-components 1" set_current_link "${DEST}" "${VERSION}" -for app in "${CURRENT}"/bin/*; do +APPS=$(find "${CURRENT}"/bin -not -type d -exec basename {} ';') +for app in ${APPS}; do set_symlink "${CURRENT}/bin/${app}" "${XDG_BIN_HOME}/${app}" done