abort alternc.install on failures so we can handle them better

This commit is contained in:
Antoine Beaupr�� 2014-11-21 17:26:16 +00:00
parent 0afe53f8a6
commit 4ccc9c6a91
1 changed files with 2 additions and 0 deletions

View File

@ -22,6 +22,8 @@
# Purpose of file: Main install script, launch it anytime ;)
# ----------------------------------------------------------------------
set -e
# Somes check before start operations
if [ `id -u` -ne 0 ]; then
echo "must be launched as root"