From 1204b9e303230afaa78eeb2dc053fd14ab86b694 Mon Sep 17 00:00:00 2001 From: "Mikhail f. Shiryaev" Date: Fri, 26 Aug 2022 19:27:04 +0200 Subject: [PATCH] Fix `doinst.sh` generator for tgz packages --- packages/build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/build b/packages/build index 53a7538f80e..c5ebf8641a3 100755 --- a/packages/build +++ b/packages/build @@ -95,7 +95,7 @@ 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" + tail +2 "$PKG_PATH/DEBIAN/postinst" >> "$PKG_PATH/install/doinst.sh" fi rm -rf "$PKG_PATH/DEBIAN" if [ -f "/usr/bin/pigz" ]; then