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
7b900401b6
commit
258f0fe263
@ -1,7 +1,3 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
if [ "$UID" -ne 0 ]
|
set -e
|
||||||
then echo "Please run as root"
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm /usr/bin/pirate-get
|
rm /usr/bin/pirate-get
|
||||||
|
Loading…
Reference in New Issue
Block a user