From df65bf07a3f09abe71b0f7f2970b1cabfec95e8b Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 16 Sep 2019 13:50:22 +0100 Subject: [PATCH] Make _update-repo-pages.sh safer against failures --- _update-repo-pages.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_update-repo-pages.sh b/_update-repo-pages.sh index b93d934..d1f63b4 100755 --- a/_update-repo-pages.sh +++ b/_update-repo-pages.sh @@ -7,6 +7,8 @@ set -e cd ~/sites/kxstudio git pull cd repo -./generate-repo-page.sh apps > applications.html -./generate-repo-page.sh plugins > plugins.html +./generate-repo-page.sh apps > applications.html.tmp +./generate-repo-page.sh plugins > plugins.html.tmp +mv applications.html.tmp applications.html +mv plugins.html.tmp plugins.html EOF