qsgen2: Add option to update sitemaps only

This commit is contained in:
Stig-Ørjan Smelror 2024-02-19 19:58:44 +01:00
parent b4d3fb036b
commit 7abece6b6a

5
qsgen2
View File

@ -143,6 +143,11 @@ case ${1} in
: >| "$blog_cache_file" # Truncate the blog cache before doing update : >| "$blog_cache_file" # Truncate the blog cache before doing update
: >| "$pages_cache_file" # Truncate the page cache before doing update : >| "$pages_cache_file" # Truncate the page cache before doing update
;; ;;
sitemap)
_msg sub "Updating sitemaps"
_sitemap
exit
;;
*) *)
# Nothing # Nothing
;; ;;