chore: copy the service with the package's name
All checks were successful
Build package / typos (push) Successful in 1m20s

This commit is contained in:
Valentin Doreau 2024-11-01 19:57:59 +01:00
parent 9143154d7a
commit 4e8830a711
Signed by: vdoreau
GPG key ID: F3E456CF9A14098B

View file

@ -15,7 +15,7 @@ mkdir -vp \
# Package content # Package content
VERSION=$version make build VERSION=$version make build
cp -v "$package_name" "${deb_folder}/usr/local/bin/" cp -v "$package_name" "${deb_folder}/usr/local/bin/"
cp -v deb/printer.service "${deb_folder}/lib/systemd/system/" cp -v "deb/${package_name}.service" "${deb_folder}/lib/systemd/system/"
# DEBIAN # DEBIAN
cat - > "${deb_folder}/DEBIAN/control" <<EOF cat - > "${deb_folder}/DEBIAN/control" <<EOF