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 7194f445..db70250a 100755 --- a/scripts/initenv.sh +++ b/scripts/initenv.sh @@ -9,9 +9,9 @@ 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 ! dpkg -l | grep build-essential 2>&1 >/dev/null + if ! gcc --version 2>&1 >/dev/null then - echo "You need to install build-essential for building Python dependencies." + echo "You need to install gcc for building Python dependencies." exit 1 fi ;;