From 4e8830a711ce3698acfb1819c5efb3afb98f56e0 Mon Sep 17 00:00:00 2001 From: Valentin Doreau Date: Fri, 1 Nov 2024 19:57:59 +0100 Subject: [PATCH] chore: copy the service with the package's name --- deb/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deb/build.sh b/deb/build.sh index c57a47b..0900c46 100755 --- a/deb/build.sh +++ b/deb/build.sh @@ -15,7 +15,7 @@ mkdir -vp \ # Package content VERSION=$version make build 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 cat - > "${deb_folder}/DEBIAN/control" <