1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00

Update install

This commit is contained in:
ericgaspar 2021-04-17 16:36:16 +02:00
parent c4d18061fe
commit 29909e0a10
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -120,12 +120,6 @@ ynh_script_progression --message="Creating Drush alias..." --weight=2
mkdir -p "$final_path/.drush"
drush_aliasconfig="$final_path/.drush/$app.aliases.drushrc.php"
# cp -f "../conf/yoursite.aliases.drushrc.php" "$drush_aliasconfig"
# ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$drush_aliasconfig"
# ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_file="$drush_aliasconfig"
# ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="$drush_aliasconfig"
# ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="$drush_aliasconfig"
ynh_add_config --template="../conf/yoursite.aliases.drushrc.php" --destination="$drush_aliasconfig"
@ -173,12 +167,6 @@ ynh_script_progression --message="Modifying a config file..." --weight=1
config_file=$final_path/app/sites/default/settings.php
# cp ../conf/default.settings.php "$config_file"
# ynh_replace_string --match_string="__DB_NAME__" --replace_string="$db_name" --target_file="$config_file"
# ynh_replace_string --match_string="__DB_USER__" --replace_string="$db_user" --target_file="$config_file"
# ynh_replace_string --match_string="__DB_PWD__" --replace_string="$db_pwd" --target_file="$config_file"
# ynh_replace_string --match_string="__FINALPATH__" --replace_string="$final_path" --target_file="$config_file"
ynh_add_config --template="../conf/default.settings.php" --destination="$config_file"
#=================================================