From e75d7076250a6f6c2510d6c4df7c41fa19161c40 Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Tue, 6 Jul 2021 10:55:06 -0700 Subject: [PATCH] Fix node install home script --- node/.local/bin/install-node-home | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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