mirror of
https://github.com/YunoHost-Apps/ulogger_ynh.git
synced 2024-10-01 13:34:45 +02:00
Update install
This commit is contained in:
parent
c82fd5c353
commit
ebf5575f1c
1 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
|||
# SPECIFIC SETUP
|
||||
#=================================================
|
||||
|
||||
# Set right permissions for curl install
|
||||
# Set right permissions for cURL install
|
||||
chown -R $app: $final_path
|
||||
|
||||
#=================================================
|
||||
|
@ -115,7 +115,7 @@ cp "../conf/config.php" "$final_path/config.php"
|
|||
ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$final_path/config.php"
|
||||
ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="$final_path/config.php"
|
||||
|
||||
ynh_replace_string "^\$enabled = false;" "\$enabled = true;" "$final_path/scripts/setup.php"
|
||||
ynh_replace_string --match_string="\$enabled = false;" --replace_string="\$enabled = true;" --target_file="$final_path/scripts/setup.php"
|
||||
|
||||
admin_pwd=$(openssl passwd -1 -salt xyz $password)
|
||||
|
||||
|
|
Loading…
Reference in a new issue