From 1d7171543688497ba92d14ff4650ea869c53dfe7 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Thu, 8 Mar 2018 18:53:21 +0100 Subject: [PATCH] [fix] Remove warning from equivs --- data/helpers.d/package | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/data/helpers.d/package b/data/helpers.d/package index a1d29651e..71771a568 100644 --- a/data/helpers.d/package +++ b/data/helpers.d/package @@ -101,6 +101,10 @@ ynh_package_install_from_equivs () { # Build and install the package local TMPDIR=$(mktemp -d) + + # Force the compatibility level at 10, levels below are deprecated + echo 10 > /usr/share/equivs/template/debian/compat + # Note that the cd executes into a sub shell # Create a fake deb package with equivs-build and the given control file # Install the fake package without its dependencies with dpkg