You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
229 B
Plaintext
9 lines
229 B
Plaintext
3 years ago
|
#!/bin/bash
|
||
|
|
||
|
function error {
|
||
|
echo -e "\\e[91m$1\\e[39m"
|
||
|
exit 1
|
||
|
}
|
||
|
|
||
|
rm -rf ~/snapdrop || error "Failed to remove install directory!"
|
||
|
rm ~/.local/share/applications/snapdrop.desktop || error "Failed to remove desktop shortcut!"
|