From d6a97cd692a14c9f62e48783579be5f6a87ecad3 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 14 Feb 2020 13:01:45 +0100 Subject: [PATCH] Clear archives too --- bin/copy-fixed-archive | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/copy-fixed-archive b/bin/copy-fixed-archive index 7e5f193..299d071 100755 --- a/bin/copy-fixed-archive +++ b/bin/copy-fixed-archive @@ -4,7 +4,9 @@ echo "Spitting out todays date and time ..." date echo "Copying over the doesitsparkjoy.voicegardens.org fixed archive ..." +rm -rf /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/* cp /var/www/doesitsparkjoy.voicegardens.org/voicegardens/fixed-archive/* /var/www/doesitsparkjoy.voicegardens.org/voicegardens/archive/ echo "Copying over the voicegardens.org fixed archive ..." +rm -rf /var/www/voicegardens.org/voicegardens/archive/* cp /var/www/voicegardens.org/voicegardens/fixed-archive/* /var/www/voicegardens.org/voicegardens/archive/