1
0
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:
Frederik Hanghøj Iversen 2014-02-28 13:26:54 +01:00
parent b2b4847f63
commit cde7efdbf5

View File

@ -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