Update build.sh

This commit is contained in:
sump pump 2020-04-27 20:36:33 +00:00
parent 7ec522aec5
commit 08401cacbf

View File

@ -3,7 +3,7 @@
# Tinc # Tinc
# Remove existing configuration # Remove existing configuration
rm --verbose -rf /etc/tinc/* rm -v -rf /etc/tinc/*
# Copy all non-template files to /etc/(tinc) # Copy all non-template files to /etc/(tinc)
find tinc -type d | xargs -I '{}' mkdir --verbose -p /etc/{} find tinc -type d | xargs -I '{}' mkdir --verbose -p /etc/{}
find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp --verbose {} /etc/{} find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp --verbose {} /etc/{}