From ef7d80a19c09c6142b2d8f77ec792e3324eee9b0 Mon Sep 17 00:00:00 2001 From: Lux49 Date: Sat, 11 Jul 2020 13:33:11 +0200 Subject: [PATCH] remove the check for updates because I won't be testing this inside a git repo --- blog-refresh.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/blog-refresh.sh b/blog-refresh.sh index fdd4eb0..057436c 100755 --- a/blog-refresh.sh +++ b/blog-refresh.sh @@ -73,7 +73,6 @@ has_updates() { } cd /home/nginx/html/blog -if has_updates; then git pull &> /dev/null rm -f index.html rm -f rss.xml @@ -83,4 +82,3 @@ if has_updates; then # Human-readable output for the cron notification echo 'Updated blog to:' git log -1 -fi