mirror of
https://github.com/YunoHost-Apps/dolibarr_ynh.git
synced 2024-09-03 18:35:53 +02:00
Update install
This commit is contained in:
parent
1d0b4647e3
commit
3cd5235033
1 changed files with 11 additions and 11 deletions
|
@ -130,24 +130,24 @@ ynh_local_curl "/install/step5.php" \
|
||||||
|
|
||||||
ynh_exec_fully_quiet sleep 5
|
ynh_exec_fully_quiet sleep 5
|
||||||
|
|
||||||
#ynh_script_progression --message="configuring LDAP" --weight=1
|
ynh_script_progression --message="configuring LDAP" --weight=1
|
||||||
|
|
||||||
# # Populate the LDAP parameters
|
# Populate the LDAP parameters
|
||||||
# ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ../conf/sql/ldap.sql
|
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ../conf/sql/ldap.sql
|
||||||
|
|
||||||
# # Populate the database with YNH users.
|
# Populate the database with YNH users.
|
||||||
# ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ../conf/sql/ldap_user.sql
|
ynh_mysql_connect_as --user=$db_name --password=$db_pwd --database=$db_name < ../conf/sql/ldap_user.sql
|
||||||
|
|
||||||
# if php$phpversion $install_dir/scripts/user/sync_users_ldap2dolibarr.php commitiferror --server=localhost -y; then
|
if php$phpversion $install_dir/scripts/user/sync_users_ldap2dolibarr.php commitiferror --server=localhost -y; then
|
||||||
# ynh_print_info --message="LDAP user update ok"
|
ynh_print_info --message="LDAP user update ok"
|
||||||
# else
|
else
|
||||||
# ynh_print_info --message="LDAP user update ended with error"
|
ynh_print_info --message="LDAP user update ended with error"
|
||||||
# fi
|
fi
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
#ynh_script_progression --message="configuring config file" --weight=1
|
ynh_script_progression --message="configuring config file" --weight=1
|
||||||
|
|
||||||
# Setup HTTP auth in conf
|
# Setup HTTP auth in conf
|
||||||
ynh_replace_string --match_string="dolibarr_main_authentication='dolibarr'" --replace_string="dolibarr_main_authentication='http'" --target_file="$install_dir/htdocs/conf/conf.php"
|
ynh_replace_string --match_string="dolibarr_main_authentication='dolibarr'" --replace_string="dolibarr_main_authentication='http'" --target_file="$install_dir/htdocs/conf/conf.php"
|
||||||
|
|
Loading…
Reference in a new issue