Skip to content
Snippets Groups Projects
Unverified Commit 0076c776 authored by Massimiliano Adamo's avatar Massimiliano Adamo
Browse files

fix typo

parent e082f404
No related branches found
No related tags found
No related merge requests found
......@@ -49,11 +49,11 @@ check_version() {
echo "in order to fetch and install the new version you can use the option: --update"
echo ""
else
if [ -n $CHECK ]; then
if [[ -n $CHECK ]]; then
echo "you are running the latest version"
fi
fi
if [ -n $CHECK ]; then
if [[ -n $CHECK ]]; then
exit 0
fi
}
......@@ -166,7 +166,7 @@ TYPE=$(echo $TYPE | tr '[:lower:]' '[:upper:]')
check_version $0
if [ -n $UPDATE ]; then
if [[ -n $UPDATE ]]; then
curl $SCRIPT_URL -o $0
UPDATE_STATUS=$?
if [ $UPDATE_STATUS == 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment