From cde7efdbf58200e1a690df90beab87535e80b67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Hangh=C3=B8j=20Iversen?= Date: Fri, 28 Feb 2014 13:26:54 +0100 Subject: [PATCH] Let uninstall exit on error --- uninstall.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/uninstall.sh b/uninstall.sh index fc187e5..c91f933 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -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