Update build script

This commit is contained in:
Alex Rennie-Lis
2026-06-16 23:09:08 +01:00
parent 737ebcdd0a
commit e090104d0c

View File

@@ -1,8 +1,17 @@
#!/bin/bash #!/bin/bash
# ensure permissions name="webhookd"
version="1.0-0"
# Ensure permissions
chmod 0755 DEBIAN/postinst chmod 0755 DEBIAN/postinst
chmod 0755 usr/local/bin/webhookd.py chmod 0755 usr/local/bin/webhookd.py
chmod 0644 etc/systemd/system/webhookd.service chmod 0644 etc/systemd/system/webhookd.service
dpkg-deb --build --root-owner-group webhookd # Package
mkdir -p ${name}_${version}_all/{DEBIAN,etc/systemd/system,usr/local/bin};
mv DEBIAN ${name}_${version}_all/;
mv etc ${name}_${version}_all/;
mv usr ${name}_${version}_all/;
dpkg-deb --build --root-owner-group ${name}_${version}_all