diff --git a/CHANGELOG.md b/CHANGELOG.md index e754da0d..e3e520dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## untagged +- Check whether GCC is installed in initenv.sh + ([#608](https://github.com/chatmail/relay/pull/608)) + - Expire push notification tokens after 90 days ([#583](https://github.com/chatmail/relay/pull/583)) diff --git a/scripts/initenv.sh b/scripts/initenv.sh index b4dab1bc..db70250a 100755 --- a/scripts/initenv.sh +++ b/scripts/initenv.sh @@ -9,6 +9,11 @@ if command -v lsb_release 2>&1 >/dev/null; then echo "You need to install python3-dev for installing the other dependencies." exit 1 fi + if ! gcc --version 2>&1 >/dev/null + then + echo "You need to install gcc for building Python dependencies." + exit 1 + fi ;; esac fi