Fix debian package path
All checks were successful
/ go-test (push) Successful in 9m49s

This commit is contained in:
Melora Hugues 2024-12-07 18:46:47 +01:00
parent 05ed62fda1
commit 5283f5c11e
Signed by: faercol
SSH key fingerprint: SHA256:lzUKsKDIw1w0bcLnoBu84oYJOnLmi7SeKetszpyDCFY

View file

@ -6,7 +6,7 @@ set -o nounset
rm -rf /build/debpkg rm -rf /build/debpkg
mkdir -p /build/debpkg/usr/bin /build/debpkg/DEBIAN /build/debpkg/etc/systemd/system /build/debpkg/etc/sys-exporter mkdir -p /build/debpkg/usr/bin /build/debpkg/DEBIAN /build/debpkg/etc/systemd/system /build/debpkg/etc/sys-exporter
install -m 755 -o root -g root /build/server /build/debpkg/usr/bin/ install -m 755 -o root -g root /build/server /build/debpkg/usr/bin/sys-exporter
install -m 644 -o root -g root /debian/sys-exporter/etc/systemd/system/sys-exporter.service /build/debpkg/etc/systemd/system/ install -m 644 -o root -g root /debian/sys-exporter/etc/systemd/system/sys-exporter.service /build/debpkg/etc/systemd/system/
install -m 644 -o root -g root /debian/sys-exporter/etc/sys-exporter/config.yml /build/debpkg/etc/sys-exporter/ install -m 644 -o root -g root /debian/sys-exporter/etc/sys-exporter/config.yml /build/debpkg/etc/sys-exporter/
install -m 644 -o root -g root /debian/sys-exporter/control /build/debpkg/DEBIAN/control install -m 644 -o root -g root /debian/sys-exporter/control /build/debpkg/DEBIAN/control