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:
parent
b9b050b7c1
commit
af92722962
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue