Update npm-copy-data.sh

This commit is contained in:
tteckster 2022-01-21 17:41:24 -05:00 committed by GitHub
parent fded7a856b
commit c66109b522
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,8 +93,8 @@ CTID_TO_PATH=$(pct mount $CTID_TO | sed -n "s/.*'\(.*\)'/\1/p") || \
[ -d "${CTID_TO_PATH}${DATA_PATH}" ] || \
die "Nginx Proxy Manager directories in '$CTID_TO' not found."
#rm -rf ${CTID_TO_PATH}${DATA_PATH}
#mkdir ${CTID_TO_PATH}${DATA_PATH}
rm -rf ${CTID_TO_PATH}${DATA_PATH}
mkdir ${CTID_TO_PATH}${DATA_PATH}
msg "Copying Data Between Containers..."
RSYNC_OPTIONS=(