From a34dda20c706606d0811c480f2b76bc9d1bb0afc Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Mon, 24 Mar 2025 17:21:08 +0800 Subject: [PATCH] uninstall wine --- uninstall/wine | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 uninstall/wine diff --git a/uninstall/wine b/uninstall/wine new file mode 100755 index 0000000..689dc82 --- /dev/null +++ b/uninstall/wine @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +##makedesc: Uninstall wine +source "$( dirname $(readlink -e -- "${BASH_SOURCE}"))/../helpers.sh" || exit 255 + +title + +sudo apt remove --purge "wine*" +rm -rf "$HOME/.wine" +rm -f "$HOME/.config/menus/applications-merged/*wine*" +rm -rf "$HOME/.local/share/applications/wine" +rm -f "$HOME/.local/share/desktop-directories/*wine*" +rm -f "$HOME/.local/share/icons/*wine*" + +# !!! dangerous!!! +#sudo apt remove --purge wine* *:i386 +#dpkg --remove-architecture i386 + +success "wine removed!" +