mirror of
https://github.com/YunoHost-Apps/noalyss_ynh.git
synced 2024-09-03 19:46:20 +02:00
Update install
This commit is contained in:
parent
34b6f1a9ce
commit
7d1614de98
1 changed files with 11 additions and 11 deletions
|
@ -129,21 +129,21 @@ phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
|
|||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Modifying $app config file..."
|
||||
# ynh_script_progression --message="Modifying $app config file..."
|
||||
|
||||
cp ../conf/noalyss.conf $final_path/include/config.inc.php
|
||||
# cp ../conf/noalyss.conf $final_path/include/config.inc.php
|
||||
|
||||
ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/include/config.inc.php"
|
||||
ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/include/config.inc.php"
|
||||
ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/include/config.inc.php"
|
||||
ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/include/config.inc.php"
|
||||
# ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$final_path/include/config.inc.php"
|
||||
# ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/include/config.inc.php"
|
||||
# ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="$final_path/include/config.inc.php"
|
||||
# ynh_replace_string --match_string="__PASSWORD__" --replace_string="$password" --target_file="$final_path/include/config.inc.php"
|
||||
|
||||
#=================================================
|
||||
# STORE THE CONFIG FILE CHECKSUM
|
||||
#=================================================
|
||||
# #=================================================
|
||||
# # STORE THE CONFIG FILE CHECKSUM
|
||||
# #=================================================
|
||||
|
||||
# Calculate and store the config file checksum into the app settings
|
||||
ynh_store_file_checksum "$final_path/include/config.inc.php"
|
||||
# # Calculate and store the config file checksum into the app settings
|
||||
# ynh_store_file_checksum "$final_path/include/config.inc.php"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Reference in a new issue