Skip to content

Commit

Permalink
catch missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Nov 16, 2023
1 parent 6b76913 commit f32aae1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/dist-packages/linux/install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ checkSum() {
break
fi
done
if [ -z "$SUMCMD" ]; then
if [ -z "${SUMCMD:-}" ]; then
echo "ERROR: No checksum command found. Tried 'sha256sum', 'md5sum'." >&2
exit 1
fi
Expand All @@ -26,7 +26,7 @@ installRedHat(){
break
fi
done
if [ -z "$PACKAGER" ]; then
if [ -z "${PACKAGER:-}" ]; then
echo "ERROR: No package manager found. Tried 'dnf', 'yum'." >&2
exit 1
fi
Expand Down Expand Up @@ -70,7 +70,7 @@ installDebian(){
break
fi
done
if [ -z "$GNUPGCMD" ]; then
if [ -z "${GNUPGCMD:-}" ]; then
echo "ERROR: No GnuPG CLI found. Tried 'gpg', gpg2." >&2
exit 1
fi
Expand All @@ -80,7 +80,7 @@ installDebian(){
break
fi
done
if [ -z "$GETTER" ]; then
if [ -z "${GETTER:-}" ]; then
echo "ERROR: No http client found. Tried 'wget', 'curl'." >&2
exit 1
else
Expand Down

0 comments on commit f32aae1

Please sign in to comment.