19 lines
307 B
Bash
19 lines
307 B
Bash
|
#!/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
|