Skip to content

Commit

Permalink
Remove check for mail
Browse files Browse the repository at this point in the history
Seems mail isn't used anywhere in the script, so there shouldn't be any need to check for it.
  • Loading branch information
sgiehl authored Apr 27, 2021
1 parent 820856e commit 54c8396
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions scripts/build-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,6 @@ function checkEnv() {
die "Cannot find zip"
fi

if [ "$BUILD_ONLY" != true ]; then
if [ ! -x "/usr/bin/mail" -a ! -x "$(which mail)" ]
then
die "Cannot find mail"
fi
fi

if [ ! -x "/usr/bin/md5sum" -a ! -x "$(which md5sum)" ]
then
die "Cannot find md5sum"
Expand Down

0 comments on commit 54c8396

Please sign in to comment.