From c1d542d6fecaec1d398909e26a7035f8359bb430 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig-=C3=98rjan=20Smelror?= Date: Sun, 4 Feb 2024 14:18:55 +0100 Subject: [PATCH] qsgen2: Cache files also need config file --- qsgen2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qsgen2 b/qsgen2 index eab8737..dedf785 100755 --- a/qsgen2 +++ b/qsgen2 @@ -36,10 +36,6 @@ function include () { # Including some colors to the script include common/colors -# Define cache files for blogs and pages -blog_cache_file="${project_dir}/.blog_cache" -pages_cache_file="${project_dir}/.pages_cache" - echo "${magenta}${blue_bg} ${QSGEN} ${end}${white}${blue_bg}${VERSION} ${end}" _add_site() { @@ -129,6 +125,10 @@ if (${debug}); then done fi +# Define cache files for blogs and pages +blog_cache_file="${project_dir}/.blog_cache" +pages_cache_file="${project_dir}/.pages_cache" + case "$1" in add) if [[ $# -eq 3 ]]; then