Skip to content

Commit 09e41d7

Browse files
committed
Fix issue that architecture wasn’t replaced in /DEBIAN/control
1 parent 535ac74 commit 09e41d7

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
@@ -379,7 +379,7 @@ if [ "$NGINX_B" = true ] ; then
379379
mkdir -p $BUILD_DIR_HESTIANGINX/DEBIAN
380380
get_branch_file 'src/deb/nginx/control' "$BUILD_DIR_HESTIANGINX/DEBIAN/control"
381381
if [ "$BUILD_ARCH" != "amd64" ]; then
382-
sed -i "s/%amd64%/${BUILD_ARCH}/g" "$BUILD_DIR_HESTIANGINX/DEBIAN/control"
382+
sed -i "s/amd64/${BUILD_ARCH}/g" "$BUILD_DIR_HESTIANGINX/DEBIAN/control"
383383
fi
384384
get_branch_file 'src/deb/nginx/copyright' "$BUILD_DIR_HESTIANGINX/DEBIAN/copyright"
385385
get_branch_file 'src/deb/nginx/postinst' "$BUILD_DIR_HESTIANGINX/DEBIAN/postinst"
@@ -512,7 +512,7 @@ if [ "$PHP_B" = true ] ; then
512512
mkdir -p $BUILD_DIR_HESTIAPHP/DEBIAN
513513
get_branch_file 'src/deb/php/control' "$BUILD_DIR_HESTIAPHP/DEBIAN/control"
514514
if [ "$BUILD_ARCH" != "amd64" ]; then
515-
sed -i "s/%amd64%/${BUILD_ARCH}/g" "$BUILD_DIR_HESTIAPHP/DEBIAN/control"
515+
sed -i "s/amd64/${BUILD_ARCH}/g" "$BUILD_DIR_HESTIAPHP/DEBIAN/control"
516516
fi
517517
get_branch_file 'src/deb/php/copyright' "$BUILD_DIR_HESTIAPHP/DEBIAN/copyright"
518518

@@ -608,7 +608,7 @@ if [ "$HESTIA_B" = true ]; then
608608
mkdir -p $BUILD_DIR_HESTIA/DEBIAN
609609
get_branch_file 'src/deb/hestia/control' "$BUILD_DIR_HESTIA/DEBIAN/control"
610610
if [ "$BUILD_ARCH" != "amd64" ]; then
611-
sed -i "s/%amd64%/${BUILD_ARCH}/g" "$BUILD_DIR_HESTIA/DEBIAN/control"
611+
sed -i "s/amd64/${BUILD_ARCH}/g" "$BUILD_DIR_HESTIA/DEBIAN/control"
612612
fi
613613
get_branch_file 'src/deb/hestia/copyright' "$BUILD_DIR_HESTIA/DEBIAN/copyright"
614614
get_branch_file 'src/deb/hestia/postinst' "$BUILD_DIR_HESTIA/DEBIAN/postinst"

0 commit comments

Comments
 (0)