STacked commands breaking stuff

This commit is contained in:
Manevolent 2021-09-21 19:26:12 -06:00
parent 4c64b5bad6
commit e8115f0cf2
No known key found for this signature in database
GPG Key ID: 2E9B7592DFA4F344

View File

@ -54,11 +54,11 @@ do
cp -rv "$(basename "$git" .git)"/* work/ && cd work
# Copy default files
mkdir --verbose tinc && cp -rv ../tinc/* tinc/
mkdir --verbose bird && cp -rv ../bird/* bird/
mkdir --verbose bind && cp -rv ../bind/* bind/
mkdir --verbose tinc; cp -rv ../tinc/* tinc/
mkdir --verbose bird; cp -rv ../bird/* bird/
mkdir --verbose bind; cp -rv ../bind/* bind/
if [ "${wg_enabled:-0}" -eq "1" ]; then
mkdir --verbose wireguard && cp -rv ../wireguard/* wireguard/
mkdir --verbose wireguard; cp -rv ../wireguard/* wireguard/
fi
# Copy system-local custom files (if they even exist)