Set equiv as base dependance (#515)

This commit is contained in:
Josue-T 2018-08-25 19:45:55 +02:00 committed by ljf (zamentur)
parent 36c2876d76
commit cdd510642f
2 changed files with 1 additions and 4 deletions

View file

@ -86,10 +86,6 @@ ynh_package_autopurge() {
ynh_package_install_from_equivs () { ynh_package_install_from_equivs () {
local controlfile=$1 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 # retrieve package information
local pkgname=$(grep '^Package: ' $controlfile | cut -d' ' -f 2) # Retrieve the name of the debian package 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 local pkgversion=$(grep '^Version: ' $controlfile | cut -d' ' -f 2) # And its version number

1
debian/control vendored
View file

@ -26,6 +26,7 @@ Depends: ${python:Depends}, ${misc:Depends}
, metronome , metronome
, rspamd (>= 1.6.0), redis-server, opendkim-tools , rspamd (>= 1.6.0), redis-server, opendkim-tools
, haveged , haveged
, equivs
Recommends: yunohost-admin Recommends: yunohost-admin
, openssh-server, ntp, inetutils-ping | iputils-ping , openssh-server, ntp, inetutils-ping | iputils-ping
, bash-completion, rsyslog, etckeeper , bash-completion, rsyslog, etckeeper