Update build.sh

This commit is contained in:
sump pump 2020-04-27 20:34:45 +00:00
parent d16b68e2e5
commit 7ec522aec5

View File

@ -3,10 +3,10 @@
# Tinc # Tinc
# Remove existing configuration # Remove existing configuration
rm -rf /etc/tinc/* rm --verbose -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 -v -p /etc/{} find tinc -type d | xargs -I '{}' mkdir --verbose -p /etc/{}
find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp -v {} /etc/{} find tinc -type f ! -name '*.tmpl' | xargs -I '{}' cp --verbose {} /etc/{}
# Mutate templates to /etc/(tinc) as well # Mutate templates to /etc/(tinc) as well
#TODO #TODO