diff --git a/uninstall-mysqlbu.sh b/uninstall-mysqlbu.sh new file mode 100755 index 0000000..c7ebd2e --- /dev/null +++ b/uninstall-mysqlbu.sh @@ -0,0 +1,23 @@ +#!/usr/bin/env bash +# Wrapper script for install, for easier execution via URL. + +source /dev/stdin <<< "$(curl -sL http://scity.xyz/colorsinc)" +source /dev/stdin <<< "$(curl -sL http://scity.xyz/defaultinc)" + + +if [ "$EUID" -ne 0 ]; then APTFUNC="sudo ${ATYPE}" +else APTFUNC="${ATYPE}" +fi +echo "" +echo -e "${CS[color,LightGreen]}MySQL-BU Removal Script${CS[color,Default]}" + + +do_with_root set -eu +rm -f /usr/local/bin/mysqlbu +rm -Rf /opt/mysqlbu + +echo "" +echo -e "${CS[color,LightRed]}MySQL-BU has been Removed${CS[color,Default]}" +echo "" + +exit 0 \ No newline at end of file