diff --git a/debian/tools/build.sh b/debian/tools/build.sh index 815eef1..a3913c2 100755 --- a/debian/tools/build.sh +++ b/debian/tools/build.sh @@ -6,7 +6,7 @@ set -o nounset rm -rf /build/debpkg 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/sys-exporter/config.yml /build/debpkg/etc/sys-exporter/ install -m 644 -o root -g root /debian/sys-exporter/control /build/debpkg/DEBIAN/control