#!/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 --git-export=WC