mirror of
https://github.com/YunoHost-Apps/leed_ynh.git
synced 2024-09-03 19:26:32 +02:00
source à la place de .
This commit is contained in:
parent
3cfaaaa5d3
commit
4e996121f8
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ then
|
|||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
# Source app helpers
|
||||
. /usr/share/yunohost/helpers
|
||||
source /usr/share/yunohost/helpers
|
||||
else
|
||||
domain=$1
|
||||
path=$2
|
||||
|
@ -30,7 +30,7 @@ fi
|
|||
|
||||
# Delete files and db if exit with an error
|
||||
EXIT_PROPERLY () {
|
||||
trap '' ERR
|
||||
trap ERR
|
||||
echo -e "\e[91m \e[1m" # Shell in light red bold
|
||||
echo -e "!!\n $app install's script has encountered an error. Installation was cancelled.\n!!"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ if [ $ynh_version = "2.4" ]; then
|
|||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
# Source app helpers
|
||||
. /usr/share/yunohost/helpers
|
||||
source /usr/share/yunohost/helpers
|
||||
else
|
||||
app=leed
|
||||
MYSQL_ROOT_PWD_FILE="/etc/yunohost/mysql"
|
||||
|
|
Loading…
Add table
Reference in a new issue