No amavis in testing/unstable anymore

This commit is contained in:
julienmalik 2016-01-06 09:53:42 +01:00
parent 433d042db9
commit 88cf82a98e

View file

@ -134,6 +134,9 @@ EOF
}
set_domain() {
# No amavis in testing/unstable anymore
[[ "$DISTRIB" != "stable" ]] && return 0
dpkg -l | grep amavisd-new | grep -e "^ii" > /dev/null 2>&1 \
|| [[ "$(hostname -d 2>/dev/null)" != "" ]] \
|| hostname yunohost.yunohost.org > /dev/null 2>&1 \