fix: make -F

This commit is contained in:
Cyrille L 2022-06-15 17:55:43 +02:00
parent 933bdd7566
commit 3c08cb939b
7 changed files with 22 additions and 10 deletions

View File

@ -4,7 +4,12 @@ GSL changes from releases. You can send an issue :
- repo: https://git.a-lec.org/echolib/gsl/-/issues - repo: https://git.a-lec.org/echolib/gsl/-/issues
- Contact xmpp: im@echolib.re - 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 ### Fix
- Valid style for img: width & height in one style="" - Valid style for img: width & height in one style=""

View File

@ -1,5 +1,5 @@
Package: egsl Package: egsl
Version: 0.0.91 Version: 0.0.92
Section: custom Section: custom
Priority: optional Priority: optional
Architecture: all Architecture: all

View File

@ -1,4 +1,4 @@
## [0.0.91] ## [0.0.92]
## Please, see help (and documentations in help folder) ## Please, see help (and documentations in help folder)

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
# Version: 0.0.91 # Version: 0.0.92
# file: gsl # file: gsl
# Folder: /usr/local/bin # Folder: /usr/local/bin
# By echolib (XMPP: im@echolib.re) # By echolib (XMPP: im@echolib.re)

View File

@ -4,7 +4,12 @@ GSL changes from releases. You can send an issue :
- repo: https://git.a-lec.org/echolib/gsl/-/issues - repo: https://git.a-lec.org/echolib/gsl/-/issues
- Contact xmpp: im@echolib.re - 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 ### Fix
- Valid style for img: width & height in one style="" - Valid style for img: width & height in one style=""

View File

@ -1,4 +1,4 @@
## [0.0.91] ## [0.0.92]
## Please, see help (and documentations in help folder) ## Please, see help (and documentations in help folder)

View File

@ -219,12 +219,14 @@ if [[ "$gsl_force_make" ]];then
else else
# if file exists (value is true) # if file exists (value is true)
if [[ "$gsl_srv_wip_file" ]];then if [[ "$gsl_srv_wip_file" ]];then
if (( $article_Status_chk == $article_Status_wip ));then
gsl__logs_print -w -g -M \ gsl__logs_print -w -g -M \
"WIP: Already done ; Use -F to force" \ "WIP: Already done ; Use -F to force" \
"$gsl_srv_post_wip" "$gsl_srv_post_wip"
unset gsl_do_make unset gsl_do_make
fi fi
fi fi
fi
! [[ "$gsl_do_make" ]] && return ! [[ "$gsl_do_make" ]] && return