blob: c1262cf878cfd362fba79db235b180feb3b22127 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/usr/bin/env bash
app=$1
if [ "$(which $app)" ]; then
current_version=$($app --version | grep -oE "[0-9\.]+")
echo "$app: uninstalling $current_version"
sudo apt remove $app
fi
|