From cf7e11ae96cbcb5514ed56035b7896fdcb046cd4 Mon Sep 17 00:00:00 2001 From: Josemar Lohn Date: Thu, 11 Feb 2021 04:01:18 -0300 Subject: [PATCH] Fifex css creation problem --- lib/create_css.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/create_css.sh b/lib/create_css.sh index 1a97fc6..f8fe577 100644 --- a/lib/create_css.sh +++ b/lib/create_css.sh @@ -2,10 +2,12 @@ # Create the css file from scratch declare css_include + create_css() { # To avoid overwriting manual changes. However it is recommended that # this function is modified if the user changes the blog.css file - ((${#css_include[@]} > 0)) && return || css_include=('main.css' 'blog.css') + + ((${#css_include} > 0)) && return || css_include=('main.css' 'blog.css') if [[ ! -f blog.css ]]; then # blog.css directives will be loaded after main.css and thus will prevail echo '#title{font-size: x-large;}