mirror of
https://github.com/YunoHost-Apps/spip_ynh.git
synced 2024-09-03 20:25:59 +02:00
Correction qualité check_process
This commit is contained in:
parent
1722810bc6
commit
a6a9fe30e4
2 changed files with 4 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# Exit on command errors and treat unset variables as an error
|
# Exit on command errors and treat unset variables as an error
|
||||||
set -eu
|
set -u
|
||||||
|
|
||||||
source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script
|
source .fonctions # Charge les fonctions génériques habituellement utilisées dans le script
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# This restore script is adapted to Yunohost >=2.4
|
# This restore script is adapted to Yunohost >=2.4
|
||||||
|
|
||||||
|
# Exit on command errors and treat unset variables as an error
|
||||||
|
set -eu
|
||||||
|
|
||||||
# The parameter $1 is the backup directory location dedicated to the app
|
# The parameter $1 is the backup directory location dedicated to the app
|
||||||
backup_dir=$1
|
backup_dir=$1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue