diff --git a/scripts/backup b/scripts/backup index f7c35f8..88947a2 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,5 +1,5 @@ #!/bin/bash - +set -eu # Source app helpers source /usr/share/yunohost/helpers diff --git a/scripts/remove b/scripts/remove index fa70c40..aec41e7 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,4 +1,5 @@ #!/bin/bash +set -u source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script diff --git a/scripts/restore b/scripts/restore index e8a19dc..7a00cdd 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,4 +1,5 @@ #!/bin/bash +set -eu # Source app helpers source /usr/share/yunohost/helpers diff --git a/scripts/upgrade b/scripts/upgrade index 0773c29..e6e8bd2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,4 +1,5 @@ #!/bin/bash +set -eu source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script