diff --git a/scripts/remove b/scripts/remove index 8880355..e238cec 100644 --- a/scripts/remove +++ b/scripts/remove @@ -132,10 +132,12 @@ ynh_systemd_action --service_name=metronome --action=restart yunohost user delete $focus_user --purge # Removing additional domains -#yunohost domain remove auth.$domain -#yunohost domain remove conference.$domain -#yunohost domain remove jitsi-videobridge.$domain -#yunohost domain remove focus.$domain +if [[ $domain == *"domain.tld"* ]]; then + yunohost domain remove auth.$domain + yunohost domain remove conference.$domain + yunohost domain remove jitsi-videobridge.$domain + yunohost domain remove focus.$domain +fi #================================================= # REMOVE THE CRON FILE