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 committed by fredefox
parent 7b900401b6
commit 258f0fe263

View File

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