From 46abd88baace47c3312462d59ad417e7dd002baa Mon Sep 17 00:00:00 2001 From: Elie Date: Wed, 7 May 2014 21:04:04 -0400 Subject: [PATCH] Fix path --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index fcd2cda..c323e53 100644 --- a/scripts/install +++ b/scripts/install @@ -39,8 +39,8 @@ sudo rm -R wikimedia-mediawiki-extensions-LdapAuthentication* sudo rm REL1_22 # Change variables in Mediawiki configuration -sudo sed -i "s/ynh_wiki_name/'$wiki_name'/g" $final_path/LocalSettings.php -sudo sed -i "s/ynh_wiki_domain/$domain/g" $final_path/LocalSettings.php +sudo sed -i "s/ynh_wiki_name/$wiki_name/g" $final_path/LocalSettings.php +sudo sed -i "s@ynh_wiki_domain@$domain/$path@g" $final_path/LocalSettings.php sudo sed -i "s/ynh_wiki_db_name/$db_user/g" $final_path/LocalSettings.php sudo sed -i "s/ynh_wiki_db_user/$db_user/g" $final_path/LocalSettings.php sudo sed -i "s/ynh_wiki_db_password/$db_pwd/g" $final_path/LocalSettings.php