From 61f1ed2e1ef335c9519739b242315d9eac993b44 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 19 May 2018 22:33:02 +0100 Subject: [PATCH] Regenerate feeds after upgrades --- src/freedombone-app-smolrss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone-app-smolrss b/src/freedombone-app-smolrss index 1256fd77..3e3dc466 100755 --- a/src/freedombone-app-smolrss +++ b/src/freedombone-app-smolrss @@ -193,6 +193,10 @@ function upgrade_smolrss { # update to the next commit set_repo_commit "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs" "smolrss commit" "$SMOLRSS_COMMIT" "$SMOLRSS_REPO" + + cd "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs" || return + ./create_feeds feeds.txt > feeds.xml + chown -R www-data:www-data "/var/www/${SMOLRSS_DOMAIN_NAME}/htdocs" }