remove the check for updates because I won't be testing this inside a git repo

This commit is contained in:
Lux49 2020-07-11 13:33:11 +02:00
parent dd968c0f42
commit ef7d80a19c

View File

@ -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