shione/build.sh

18 lines
307 B
Bash
Executable file

#!/bin/sh
#
# Modifies the file hierarchy prior to build the Debian package.
set -eux
hash gbp
# 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