Update build script
This commit is contained in:
13
build.sh
13
build.sh
@@ -1,8 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# ensure permissions
|
||||
name="webhookd"
|
||||
version="1.0-0"
|
||||
|
||||
# Ensure permissions
|
||||
chmod 0755 DEBIAN/postinst
|
||||
chmod 0755 usr/local/bin/webhookd.py
|
||||
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
|
||||
Reference in New Issue
Block a user