shione/build.sh

21 lines
319 B
Bash
Raw Normal View History

2024-08-27 16:22:07 -04:00
#!/bin/sh
#
# Modifies the file hierarchy prior to build the Debian package.
set -eux
hash gbp
./clean.sh
2024-08-27 16:22:07 -04:00
# 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