update.sh: Fix script not copying hidden files

This commit is contained in:
Yuki Joou 2023-08-18 17:05:46 +02:00
parent d5e16477cf
commit cf68d0ff7c

View file

@ -21,6 +21,6 @@ echo "Made backup at $BACKUP_DIR"
rm -rf "$WEBSITES_PATH"
mkdir -p "$WEBSITES_PATH"
cp -rf public/* "$WEBSITES_PATH"
find public/ -mindepth 1 -maxdepth 1 -exec cp -rf {} "$WEBSITES_PATH"/ \;
echo "Installed $WEBSITE_NAME at $WEBSITES_PATH"