diff --git a/data/helpers.d/package b/data/helpers.d/package index 6f130bfb5..db3b50e0e 100644 --- a/data/helpers.d/package +++ b/data/helpers.d/package @@ -86,10 +86,6 @@ ynh_package_autopurge() { ynh_package_install_from_equivs () { local controlfile=$1 - # Check if the equivs package is installed. Or install it. - ynh_package_is_installed 'equivs' \ - || ynh_package_install equivs - # retrieve package information local pkgname=$(grep '^Package: ' $controlfile | cut -d' ' -f 2) # Retrieve the name of the debian package local pkgversion=$(grep '^Version: ' $controlfile | cut -d' ' -f 2) # And its version number diff --git a/debian/control b/debian/control index 8d427dfa7..6bb97a85a 100644 --- a/debian/control +++ b/debian/control @@ -26,6 +26,7 @@ Depends: ${python:Depends}, ${misc:Depends} , metronome , rspamd (>= 1.6.0), redis-server, opendkim-tools , haveged, fake-hwclock + , equivs Recommends: yunohost-admin , openssh-server, ntp, inetutils-ping | iputils-ping , bash-completion, rsyslog, etckeeper