mirror of
https://github.com/YunoHost-Apps/opensondage_ynh.git
synced 2024-09-03 19:46:28 +02:00
Merge pull request #16 from Josue-T/patch-1
[fix] Trailing slash on app name
This commit is contained in:
commit
16153c0acc
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ sudo chown -R www-data: $final_path
|
||||||
# Modify Nginx configuration file and copy it to Nginx conf directory
|
# Modify Nginx configuration file and copy it to Nginx conf directory
|
||||||
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf
|
||||||
sed -i "s@ALIASTOCHANGE@$final_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
|
if ynh_user_exists $admin; then
|
||||||
sudo yunohost app addaccess $app -u $admin
|
sudo yunohost app addaccess $app -u $admin
|
||||||
|
|
Loading…
Add table
Reference in a new issue