From 66504b7c5815faf312e1f60854f6ae6d58b17c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Mon, 5 Feb 2024 16:20:39 +0100 Subject: [PATCH] qsgen2: Disable debug --- qsgen2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qsgen2 b/qsgen2 index 4f9d4f4..ed0063a 100755 --- a/qsgen2 +++ b/qsgen2 @@ -158,7 +158,7 @@ function _msg() { esac } -case "$1" in +case ${1} in add) if [[ $# -eq 3 ]]; then _add_site "$2" "$3" @@ -550,7 +550,7 @@ function _pages() { function _blogs() { # This function either generates blog files or exports metadata based on the argument - local debug=true + local debug=false # Running function _list_blogs if (${debug}) _msg debug "_blogs: Running function _list_blogs" @@ -755,7 +755,7 @@ function _blog_idx_for_index() { function _blog_index() { - local debug=true + local debug=false # This function generates the /blog/index.html file that gets its data from _blog_list_for_index() # ${new_updated_blogs} comes from the function _blogs if anything new or updated is detected