_blogs: If new blogs, run functions

This commit is contained in:
Stig-Ørjan Smelror 2024-02-03 18:42:56 +01:00
parent 4a9a9ed8c2
commit f96ee2e9c0

6
qsgen2
View File

@ -568,10 +568,12 @@ function _blogs() {
_msg sub "- No new or updated Blogs found" _msg sub "- No new or updated Blogs found"
export new_updated_blogs=false export new_updated_blogs=false
fi fi
_msg sub "_blogs: Running _blog_idx_for_index" if [[ ${new_updated_blogs} == "true" ]]; then
if (${debug}) _msg sub "* _blogs: Running _blog_idx_for_index"
_blog_idx_for_index _blog_idx_for_index
_msg sub "_blogs: Running _blog_index" if (${debug}) _msg sub "* _blogs: Running _blog_index"
_blog_index _blog_index
fi
} }