Use getop for ynh_replace_string

This commit is contained in:
Josué Tille
2019-09-10 21:26:06 +02:00
parent 7bb3ceb1fe
commit 3a6e4b46d7
3 changed files with 8 additions and 8 deletions

View File

@ -95,8 +95,8 @@ do
done
# Add ldap config
ynh_replace_string "__ADMIN__" "$admin" ../conf/login_source.sql
ynh_replace_string "__APP__" "$app" ../conf/login_source.sql
ynh_replace_string --match_string "__ADMIN__" --replace_string "$admin" --target_file ../conf/login_source.sql
ynh_replace_string --match_string "__APP__" --replace_string "$app" --target_file ../conf/login_source.sql
ynh_mysql_connect_as "$dbuser" "$dbpass" "$dbname" < ../conf/login_source.sql
# SETUP FAIL2BAN