Skip to content

Commit

Permalink
fix nolibfuse
Browse files Browse the repository at this point in the history
  • Loading branch information
zen0bit committed May 6, 2024
1 parent ce6c037 commit 32ec30d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions modules/nolibfuse.am
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
#!/usr/bin/env bash
# shellcheck disable=SC2086

function _echo_lower() {
echo $2 | _make_upper
echo "${2}" | _make_upper
}

while [ -n "$1" ]; do
case $2 in
case "${2}" in
'')
echo " USAGE: $AMCLI $1 [PROGRAM]"; exit
;;
*)
*)
cd "$APPSPATH" || exit 1
if test -f ./$2/$2 2>/dev/null; then
cd ./$2 || return
Expand Down Expand Up @@ -94,14 +95,14 @@ while [ -n "$1" ]; do
echo " 💀Errors while trying to export $(_echo_lower) from Type2 AppImage. Aborted."
rm -R -f ./appimagetool ./squashfs-root; exit
fi
fi
fi
fi
fi
else
echo " ⚠️ Error: "(_echo_lower)" is NOT installed."; exit
echo " ⚠️ Error: "$(_echo_lower)" is NOT installed."
exit
fi
;;

esac
done

Expand Down

0 comments on commit 32ec30d

Please sign in to comment.