equivs-build now sends its logs to stderr but we don't really care about what it says, redirect to debug

This commit is contained in:
Alexandre Aubin 2021-05-30 19:07:30 +02:00
parent 5046e49c8b
commit ba2428d9b9

View file

@ -192,7 +192,7 @@ ynh_package_install_from_equivs () {
ynh_wait_dpkg_free
cp "$controlfile" "${TMPDIR}/control"
(cd "$TMPDIR"
LC_ALL=C equivs-build ./control 1> /dev/null
LC_ALL=C equivs-build ./control 2>&1
LC_ALL=C dpkg --force-depends --install "./${pkgname}_${pkgversion}_all.deb" 2>&1 | tee ./dpkg_log)
ynh_package_install --fix-broken || \