shione/build.sh
Mohammed Amar-Bensaber 196cb5c2be
clean: remove debhelper artifacts
TODO: Maybe gbp supports this already?
2024-08-27 22:22:07 +02:00

20 lines
319 B
Bash
Executable file

#!/bin/sh
#
# Modifies the file hierarchy prior to build the Debian package.
set -eux
hash gbp
./clean.sh
# Builds wireguard configuration files.
#
# This mainly copies secret files and `wg0.conf` definition.
build_wireguard() {
cp -r ./secrets/files/etc/wireguard ./files/etc
}
build_wireguard
gbp buildpackage