This commit is contained in:
Alex Janka 2024-05-19 14:24:56 +10:00
parent b5fcb944d1
commit 38276d0cb0

View file

@ -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