1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opensondage_ynh.git synced 2024-09-03 19:46:28 +02:00

[fix] Trailing slash on app name

This commit is contained in:
Josue-T 2016-06-12 23:32:52 +02:00 committed by GitHub
parent 310601f84b
commit 52786e2782

View file

@ -72,7 +72,7 @@ sudo chown -R www-data: $final_path
# Modify Nginx configuration file and copy it to Nginx conf directory
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf
sed -i "s@YNH_APP_INSTANCE_NAME@$app/@g" ../conf/nginx.conf
sed -i "s@YNH_APP_INSTANCE_NAME@$app@g" ../conf/nginx.conf
if ynh_user_exists $admin; then
sudo yunohost app addaccess $app -u $admin