1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/freshrss_ynh.git synced 2024-09-03 18:36:33 +02:00

need to load common before using its content

This commit is contained in:
Clément 2017-02-13 22:30:35 +01:00
parent e35779f2ae
commit 71391ecd84

View file

@ -3,6 +3,9 @@
# 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 -eu
# Load common variables and helpers
. ./_common.sh
# Retrieve arguments # Retrieve arguments
domain=$1 domain=$1
path=$2 path=$2
@ -12,9 +15,6 @@ app=$APPNAME
db_user=$app db_user=$app
db_name=$app db_name=$app
# Load common variables and helpers
. ./_common.sh
# Source app helpers # Source app helpers
. /usr/share/yunohost/helpers . /usr/share/yunohost/helpers