mirror of
https://github.com/YunoHost-Apps/lstu_ynh.git
synced 2024-09-03 19:36:12 +02:00
Revert change pb branche
This commit is contained in:
parent
e85b1264b2
commit
eca43fe2cf
1 changed files with 13 additions and 11 deletions
|
@ -1,18 +1,20 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# vim:set noexpandtab:
|
|
||||||
|
|
||||||
# Exit on command errors and treat unset variables as an error
|
#=================================================
|
||||||
set -eu
|
# GENERIC START
|
||||||
|
#=================================================
|
||||||
|
# IMPORT GENERIC HELPERS
|
||||||
|
#=================================================
|
||||||
|
|
||||||
source .fonctions # Loads the generic functions usually used in the script
|
source _common.sh
|
||||||
source /usr/share/yunohost/helpers # Source app helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
|
||||||
CLEAN_SETUP () {
|
#=================================================
|
||||||
# Clean installation residues that are not supported by the remove script.
|
# MANAGE SCRIPT FAILURE
|
||||||
# Clean hosts
|
#=================================================
|
||||||
echo ""
|
|
||||||
}
|
# Exit if an error occurs during the execution of the script
|
||||||
TRAP_ON # Active trap to stop the script if an error is detected.
|
ynh_abort_if_errors
|
||||||
|
|
||||||
# Retrieve arguments
|
# Retrieve arguments
|
||||||
domain=$YNH_APP_ARG_DOMAIN
|
domain=$YNH_APP_ARG_DOMAIN
|
||||||
|
|
Loading…
Add table
Reference in a new issue