Remove pleroma code on gnusocial removal

This commit is contained in:
Bob Mottram 2017-04-02 13:32:55 +01:00
parent 031a0581ec
commit ef7a9aa39e
1 changed files with 3 additions and 0 deletions

View File

@ -468,6 +468,9 @@ function remove_gnusocial {
rm /etc/cron.hourly/gnusocial-daemons
fi
remove_backup_database_local gnusocial
if [ -d $INSTALL_DIR/pleroma ]; then
rm -rf $INSTALL_DIR/pleroma
fi
function_check remove_ddns_domain
remove_ddns_domain $GNUSOCIAL_DOMAIN_NAME