Compare commits

...

2 Commits

Author SHA1 Message Date
Rico Tiongson
14a6473c94 Bump to version 1.2.5 2020-05-12 09:45:49 +08:00
Rico Tiongson
36d07b1e5d Add guard for root bash install 2020-05-12 09:36:13 +08:00
2 changed files with 6 additions and 1 deletions

View File

@ -1 +1 @@
v1.2.4
v1.2.5

View File

@ -2,6 +2,11 @@
set -e
if [[ "$USER" == root ]]; then
echo "Please run 'bash install' as non-root user" 2>&1
exit 1
fi
DIR="$(dirname "$0")"
VERSION="$(cat $DIR/VERSION | tr -d '[:space:]')"