mirror of
https://github.com/vikstrous/pirate-get
synced 2025-01-10 10:04:21 +01:00
Let uninstall exit on error
This commit is contained in:
parent
b2b4847f63
commit
cde7efdbf5
@ -1,7 +1,3 @@
|
||||
#!/usr/bin/env sh
|
||||
if [ "$UID" -ne 0 ]
|
||||
then echo "Please run as root"
|
||||
exit
|
||||
fi
|
||||
|
||||
set -e
|
||||
rm /usr/bin/pirate-get
|
||||
|
Loading…
Reference in New Issue
Block a user