Do not use debconf/confmodule in tgz packages

This commit is contained in:
Mikhail f. Shiryaev 2023-01-31 20:31:42 +01:00
parent a42d20e19d
commit 7a7b16dd13
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -102,7 +102,8 @@ done
EOF
chmod +x "$PKG_PATH/install/doinst.sh"
if [ -f "$PKG_PATH/DEBIAN/postinst" ]; then
tail +2 "$PKG_PATH/DEBIAN/postinst" >> "$PKG_PATH/install/doinst.sh"
# we don't need debconf source in doinst in any case
tail +2 "$PKG_PATH/DEBIAN/postinst" | grep -v debconf/confmodule >> "$PKG_PATH/install/doinst.sh"
fi
rm -rf "$PKG_PATH/DEBIAN"
if [ -f "/usr/bin/pigz" ]; then