Rendi i guard GREZZO compatibili con set -u

master
Guido Longoni 2026-02-06 20:35:42 +01:00
parent 3efc5e6d61
commit 8b825642c3
9 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1604316819}" ] && return; GREZZO_1604316819=0 [ -n "${GREZZO_1604316819-}" ] && return; GREZZO_1604316819=0
function feat_addpacks_curl() { function feat_addpacks_curl() {
if ! feat_missing "apt-get"; then if ! feat_missing "apt-get"; then

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1577141523}" ] && return; GREZZO_1577141523=0 [ -n "${GREZZO_1577141523-}" ] && return; GREZZO_1577141523=0
. "$(this_script_path)/lsb-release.sh" . "$(this_script_path)/lsb-release.sh"

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1737747200}" ] && return; GREZZO_1737747200=0 [ -n "${GREZZO_1737747200-}" ] && return; GREZZO_1737747200=0
function feat_add_lsb_release() { function feat_add_lsb_release() {
if ! feat_missing "apt-get"; then if ! feat_missing "apt-get"; then

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1577142009}" ] && return; GREZZO_1577142009=0 [ -n "${GREZZO_1577142009-}" ] && return; GREZZO_1577142009=0
function feat_addpacks_npm_dev() { function feat_addpacks_npm_dev() {
if ! feat_missing "apt-get"; then if ! feat_missing "apt-get"; then

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1577142035}" ] && return; GREZZO_1577142035=0 [ -n "${GREZZO_1577142035-}" ] && return; GREZZO_1577142035=0
. "$(this_script_path)/curl.sh" . "$(this_script_path)/curl.sh"

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1577142078}" ] && return; GREZZO_1577142078=0 [ -n "${GREZZO_1577142078-}" ] && return; GREZZO_1577142078=0
. "$(this_script_path)/pip.sh" . "$(this_script_path)/pip.sh"
. "$(this_script_path)/curl.sh" . "$(this_script_path)/curl.sh"

View File

@ -3,7 +3,7 @@
# Questo è un esempio di custom callback. poetry_feat_needed chiama prima poetry_feat_add_django, # Questo è un esempio di custom callback. poetry_feat_needed chiama prima poetry_feat_add_django,
# qui definito, che può effettuare altre operazioni prima e/o dopo il lancio di poetry_feat_add. # qui definito, che può effettuare altre operazioni prima e/o dopo il lancio di poetry_feat_add.
[ ! -z "${GREZZO_1577141483}" ] && return; GREZZO_1577141483=0 [ -n "${GREZZO_1577141483-}" ] && return; GREZZO_1577141483=0
unset CDPATH unset CDPATH
DOVE="$(cd "$(dirname "$(readlink -f -- "${BASH_SOURCE[0]}")")" > /dev/null && pwd -P)" DOVE="$(cd "$(dirname "$(readlink -f -- "${BASH_SOURCE[0]}")")" > /dev/null && pwd -P)"

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_1604315952}" ] && return; GREZZO_1604315952=0 [ -n "${GREZZO_1604315952-}" ] && return; GREZZO_1604315952=0
. "$(this_script_path)/curl.sh" . "$(this_script_path)/curl.sh"

View File

@ -1,5 +1,5 @@
#! /bin/bash -- #! /bin/bash --
[ ! -z "${GREZZO_MAIN}" ] && return; GREZZO_MAIN=0 [ -n "${GREZZO_MAIN-}" ] && return; GREZZO_MAIN=0
export DEBIAN_FRONTEND=noninteractive export DEBIAN_FRONTEND=noninteractive
export DEBCONF_NONINTERACTIVE_SEEN=true export DEBCONF_NONINTERACTIVE_SEEN=true