1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kresus_ynh.git synced 2024-09-03 19:36:10 +02:00

Fix #6 : use /home/ynhkresus

This commit is contained in:
J. Fernando Lagrange 2017-09-30 15:25:42 +02:00
parent faef60eab7
commit 24463487fa

View file

@ -10,13 +10,13 @@ domain=$YNH_APP_ARG_DOMAIN
path=$YNH_APP_ARG_PATH
# Compute parameters
install_path=/home/yunohost.app/$app
install_path="/home/ynh$app"
# Source YunoHost helpers
source /usr/share/yunohost/helpers
# Check domain/path availability
sudo yunohost app checkurl "${domain}${path}" -a "$app" \
yunohost app checkurl "${domain}${path}" -a "$app" \
|| ynh_die "Path not available: ${domain}${path}"
# Check system user availability