mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
cleaning
This commit is contained in:
parent
8bf8b0aa6d
commit
28312b0890
2 changed files with 2 additions and 4 deletions
|
@ -26,8 +26,7 @@ ynh_change_url_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY URL IN FRIENDICA CONF
|
# MODIFY URL IN FRIENDICA CONF
|
||||||
#=================================================
|
#=================================================
|
||||||
|
ynh_print_info --message="Updating the $app config..."
|
||||||
ynh_print_info --message="Updating the Friendica config..."
|
|
||||||
|
|
||||||
ynh_replace_string --match_string="'url' => 'https://.*'," --replace_string="'url' => 'https://$domain'," --target_file="$install_dir/config/local.config.php"
|
ynh_replace_string --match_string="'url' => 'https://.*'," --replace_string="'url' => 'https://$domain'," --target_file="$install_dir/config/local.config.php"
|
||||||
ynh_store_file_checksum --file="$install_dir/config/local.config.php"
|
ynh_store_file_checksum --file="$install_dir/config/local.config.php"
|
||||||
|
|
|
@ -12,8 +12,7 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE SYSTEM CONFIGURATIONS
|
# REMOVE SYSTEM CONFIGURATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
# REMOVE SERVICE INTEGRATION IN YUNOHOST
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
||||||
#=================================================
|
|
||||||
|
|
||||||
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
||||||
if ynh_exec_warn_less yunohost service status "$app" >/dev/null
|
if ynh_exec_warn_less yunohost service status "$app" >/dev/null
|
||||||
|
|
Loading…
Reference in a new issue