#!/bin/bash
#
# [Quick Box :: Remove x2go package]
#
# GITHUB REPOS
# GitHub _ packages  :   https://github.com/QuickBox/quickbox_packages
# LOCAL REPOS
# Local _ packages   :   /etc/QuickBox/packages
# Author             :   QuickBox.IO | liara
# URL                :   https://quickbox.io
#
# QuickBox Copyright (C) 2016
# Licensed under GNU General Public License v3.0 GPL-3 (in short)
#
#   You may copy, distribute and modify the software as long as you track
#   changes/dates in source files. Any modifications to our software
#   including (via compiler) GPL-licensed code must also be made available
#   under the GPL along with build & install instructions.
#
#################################################################################
apt-get purge -q -y x2goserver* >/dev/null 2>&1
apt-get purge -q -y xfce4* >/dev/null 2>&1
apt-get -q -y autoremove >/dev/null 2>&1
rm /install/.x2go.lock
rm /etc/apt/sources.list.d/x2go*
