Browse Source

STYLE=xbian OR 1 => BILLET unique

master
qo-op 1 year ago
parent
commit
666b25b313
  1. 3
      G1BILLETS.sh

3
G1BILLETS.sh

@ -20,7 +20,8 @@ NBbillets=6
[[ $MONTANT == "" ]] && MONTANT="___"
[[ $UNIQID == "" ]] && UNIQID=$(date -u +%s%N | cut -b1-13)$RANDOM
[[ "$STYLE" == "xbian" ]] && NBbillets=1 ## SEULEMENT 1 BILLET
[[ "$STYLE" == "xbian" ]] && NBbillets=1 ## STYLE=xbian => 1 BILLET
[[ "$STYLE" == "1" ]] && NBbillets=1 && STYLE="" ## 1 BILLET
# CHECK IF $STYLE IMAGES EXIST
[[ ! -f ${MY_PATH}/images/fond${STYLE}.jpg ]] && exit 1

Loading…
Cancel
Save