Fix doinst.sh generator for tgz packages

This commit is contained in:
Mikhail f. Shiryaev 2022-08-26 19:27:04 +02:00
parent e6e7f5db93
commit 1204b9e303
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -95,7 +95,7 @@ done
EOF EOF
chmod +x "$PKG_PATH/install/doinst.sh" chmod +x "$PKG_PATH/install/doinst.sh"
if [ -f "$PKG_PATH/DEBIAN/postinst" ]; then if [ -f "$PKG_PATH/DEBIAN/postinst" ]; then
tail +2 "$PKG_PATH/DEBIAN/postinst" > "$PKG_PATH/install/doinst.sh" tail +2 "$PKG_PATH/DEBIAN/postinst" >> "$PKG_PATH/install/doinst.sh"
fi fi
rm -rf "$PKG_PATH/DEBIAN" rm -rf "$PKG_PATH/DEBIAN"
if [ -f "/usr/bin/pigz" ]; then if [ -f "/usr/bin/pigz" ]; then