diff --git a/conf/initialConf.py b/scripts/initialConf.py old mode 100644 new mode 100755 similarity index 93% rename from conf/initialConf.py rename to scripts/initialConf.py index efc804d..6745403 --- a/conf/initialConf.py +++ b/scripts/initialConf.py @@ -3,9 +3,9 @@ import re import sys from mechanize import Browser -path = sys.argv[1] -password = sys.argv[2] -admin = sys.argv[3] +path = sys.argv[1] +password = sys.argv[2] +admin = sys.argv[3] adminPass = sys.argv[4] br = Browser() diff --git a/scripts/install b/scripts/install index f304226..e84eab2 100755 --- a/scripts/install +++ b/scripts/install @@ -80,9 +80,9 @@ sudo pip install mechanize # Then call python script to fill galette php installer with the right info # todo : replace last password by user-specified pass -sudo python ../conf/initialConf.py $domain$path $db_pwd $admin $db_pwd +sudo python initialConf.py $domain$path $db_pwd $admin $db_pwd -rm -rf $final_path/install +sudo rm -rf $final_path/install #################################################### # Nginx configuration #