From 3c08cb939b1fe5040a402b68ac4afb2a112e9580 Mon Sep 17 00:00:00 2001 From: Cyrille L Date: Wed, 15 Jun 2022 17:55:43 +0200 Subject: [PATCH] fix: make -F --- CHANGELOG.md | 7 ++++++- control | 2 +- new-version.md | 2 +- usr/local/bin/gsl | 2 +- var/lib/gsl/CHANGELOG.md | 7 ++++++- var/lib/gsl/new-version.md | 2 +- var/lib/gsl/scripts/gsl__post_makers | 10 ++++++---- 7 files changed, 22 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22f8e9c..4b89bac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,12 @@ GSL changes from releases. You can send an issue : - repo: https://git.a-lec.org/echolib/gsl/-/issues - Contact xmpp: im@echolib.re -## [0.0.91] +## [0.0.92] +### Fix +- make: must not use -F if article has changed + + +## [0.0.92] ### Fix - Valid style for img: width & height in one style="" diff --git a/control b/control index 0be563c..7494f39 100644 --- a/control +++ b/control @@ -1,5 +1,5 @@ Package: egsl -Version: 0.0.91 +Version: 0.0.92 Section: custom Priority: optional Architecture: all diff --git a/new-version.md b/new-version.md index f2dbc0e..4d3aee4 100644 --- a/new-version.md +++ b/new-version.md @@ -1,4 +1,4 @@ -## [0.0.91] +## [0.0.92] ## Please, see help (and documentations in help folder) diff --git a/usr/local/bin/gsl b/usr/local/bin/gsl index 57ed695..ccd944b 100755 --- a/usr/local/bin/gsl +++ b/usr/local/bin/gsl @@ -1,5 +1,5 @@ #!/bin/bash -# Version: 0.0.91 +# Version: 0.0.92 # file: gsl # Folder: /usr/local/bin # By echolib (XMPP: im@echolib.re) diff --git a/var/lib/gsl/CHANGELOG.md b/var/lib/gsl/CHANGELOG.md index 22f8e9c..4b89bac 100644 --- a/var/lib/gsl/CHANGELOG.md +++ b/var/lib/gsl/CHANGELOG.md @@ -4,7 +4,12 @@ GSL changes from releases. You can send an issue : - repo: https://git.a-lec.org/echolib/gsl/-/issues - Contact xmpp: im@echolib.re -## [0.0.91] +## [0.0.92] +### Fix +- make: must not use -F if article has changed + + +## [0.0.92] ### Fix - Valid style for img: width & height in one style="" diff --git a/var/lib/gsl/new-version.md b/var/lib/gsl/new-version.md index f2dbc0e..4d3aee4 100644 --- a/var/lib/gsl/new-version.md +++ b/var/lib/gsl/new-version.md @@ -1,4 +1,4 @@ -## [0.0.91] +## [0.0.92] ## Please, see help (and documentations in help folder) diff --git a/var/lib/gsl/scripts/gsl__post_makers b/var/lib/gsl/scripts/gsl__post_makers index ddf6f8a..b0ac0d1 100644 --- a/var/lib/gsl/scripts/gsl__post_makers +++ b/var/lib/gsl/scripts/gsl__post_makers @@ -219,10 +219,12 @@ if [[ "$gsl_force_make" ]];then else # if file exists (value is true) if [[ "$gsl_srv_wip_file" ]];then - gsl__logs_print -w -g -M \ - "WIP: Already done ; Use -F to force" \ - "$gsl_srv_post_wip" - unset gsl_do_make + if (( $article_Status_chk == $article_Status_wip ));then + gsl__logs_print -w -g -M \ + "WIP: Already done ; Use -F to force" \ + "$gsl_srv_post_wip" + unset gsl_do_make + fi fi fi