From 38276d0cb0004af240e31159cf01192a567819cf Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Sun, 19 May 2024 14:24:56 +1000 Subject: [PATCH] more dh --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index 330e8a8..aeb1766 100755 --- a/build.sh +++ b/build.sh @@ -114,8 +114,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do dir=$(mktemp -d) deb_dir=$dir/debian mkdir -p $deb_dir - echo $control_file > $deb_dir/control - pkgdir=$dir/$target + echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" > $deb_dir/control + pkgdir=$deb_dir/$target mkdir -p $pkgdir/usr/lib/systemd/system echo $service_file > $pkgdir/usr/lib/systemd/system/$target.service