Skip to content

Commit 5ba1805

Browse files
committed
Use xz to compress due to lack support for zstd on apt server
1 parent 0a94732 commit 5ba1805

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/hst_autocompile.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ if [ "$NGINX_B" = true ] ; then
426426

427427
# Build the package
428428
echo Building Nginx DEB
429-
dpkg-deb --build $BUILD_DIR_HESTIANGINX $DEB_DIR
429+
dpkg-deb --compression=xz --build $BUILD_DIR_HESTIANGINX $DEB_DIR
430430
fi
431431

432432
if [ "$BUILD_RPM" = true ]; then
@@ -577,7 +577,7 @@ if [ "$PHP_B" = true ] ; then
577577
# Build the package
578578
echo Building PHP DEB
579579
[ "$HESTIA_DEBUG" ] && echo DEBUG: dpkg-deb --build $BUILD_DIR_HESTIAPHP $DEB_DIR
580-
dpkg-deb --build $BUILD_DIR_HESTIAPHP $DEB_DIR
580+
dpkg-deb --compression=xz --build $BUILD_DIR_HESTIAPHP $DEB_DIR
581581
fi
582582

583583
if [ "$BUILD_RPM" = true ]; then
@@ -683,7 +683,7 @@ if [ "$HESTIA_B" = true ]; then
683683
chmod +x $BUILD_DIR_HESTIA/DEBIAN/preinst
684684

685685
echo Building Hestia DEB
686-
dpkg-deb --build $BUILD_DIR_HESTIA $DEB_DIR
686+
dpkg-deb --compression=xz --build $BUILD_DIR_HESTIA $DEB_DIR
687687
fi
688688

689689
if [ "$BUILD_RPM" = true ]; then

0 commit comments

Comments
 (0)