qsgen2: Cache files also need config file
This commit is contained in:
parent
954f18e0fb
commit
c1d542d6fe
8
qsgen2
8
qsgen2
@ -36,10 +36,6 @@ function include () {
|
|||||||
# Including some colors to the script
|
# Including some colors to the script
|
||||||
include common/colors
|
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}"
|
echo "${magenta}${blue_bg} ${QSGEN} ${end}${white}${blue_bg}${VERSION} ${end}"
|
||||||
|
|
||||||
_add_site() {
|
_add_site() {
|
||||||
@ -129,6 +125,10 @@ if (${debug}); then
|
|||||||
done
|
done
|
||||||
fi
|
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
|
case "$1" in
|
||||||
add)
|
add)
|
||||||
if [[ $# -eq 3 ]]; then
|
if [[ $# -eq 3 ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user