Regenerate feeds after upgrades
This commit is contained in:
parent
ef52dc23b7
commit
61f1ed2e1e
|
@ -193,6 +193,10 @@ function upgrade_smolrss {
|
||||||
|
|
||||||
# update to the next commit
|
# update to the next commit
|
||||||
set_repo_commit "/var/www/$SMOLRSS_DOMAIN_NAME/htdocs" "smolrss commit" "$SMOLRSS_COMMIT" "$SMOLRSS_REPO"
|
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"
|
chown -R www-data:www-data "/var/www/${SMOLRSS_DOMAIN_NAME}/htdocs"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue