1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yourls_ynh.git synced 2024-09-03 20:35:59 +02:00

tried eliminate the extra / while installation on root domian

This commit is contained in:
Anmol 2017-07-16 15:18:10 +05:30
parent b9b050b7c1
commit af92722962

View file

@ -88,7 +88,7 @@ sudo sed -i "s/yunopass/$db_pwd/g" $final_path/user/config.php
sudo sed -i "s/yunobase/$db_name/g" $final_path/user/config.php sudo sed -i "s/yunobase/$db_name/g" $final_path/user/config.php
sudo sed -i "s/yunodomain/$domain/g" $final_path/user/config.php sudo sed -i "s/yunodomain/$domain/g" $final_path/user/config.php
sudo sed -i "s/yourlsuser/$admin/g" $final_path/user/config.php sudo sed -i "s/yourlsuser/$admin/g" $final_path/user/config.php
sudo sed -i "s@_yourlspath@$path_url@g" $final_path/user/config.php sudo sed -i "s@_yourlspath@${path_url%/}@g" $final_path/user/config.php
# Set permissions # Set permissions
sudo chown -R www-data: $final_path sudo chown -R www-data: $final_path