Update find in install script to work on linux

main
Buddy Sandidge 3 years ago
parent 9daaca21c6
commit 375f31bf2a

@ -39,7 +39,7 @@ rm -rfv "$TMP_DIR"
set_current_link "${APPS_DIR}" "${VERSION}" set_current_link "${APPS_DIR}" "${VERSION}"
apps=$(find "${APPS_DIR}/current/bin" -maxdepth 1 -perm +111 -type f -exec basename {} \;) apps=$(find "${APPS_DIR}/current/bin" -maxdepth 1 -type f -exec basename {} \;)
pushd "${XDG_BIN_HOME}" pushd "${XDG_BIN_HOME}"
for bin in $apps; do for bin in $apps; do
if [[ ! -s $bin ]]; then if [[ ! -s $bin ]]; then

Loading…
Cancel
Save