diff --git a/frzr-bootstrap b/frzr-bootstrap index 083f0d0..0667c93 100755 --- a/frzr-bootstrap +++ b/frzr-bootstrap @@ -1,5 +1,10 @@ #! /bin/bash +if [ -z "$MOUNT_PATH" ]; then + echo "WARNING: frzr-bootstrap is being deprecated and will be removed on a future version: use frzr bootstrap instead. See frzr help." + exit 1 +fi + source "${BASH_SOURCE%/*}/__frzr-bootstrap" # TODO: check the file lock exists diff --git a/frzr-deploy b/frzr-deploy index 7edb6f4..7ac208e 100755 --- a/frzr-deploy +++ b/frzr-deploy @@ -1,5 +1,10 @@ #! /bin/bash +if [ -z "$MOUNT_PATH" ]; then + echo "WARNING: frzr-deploy is being deprecated and will be removed on a future version: use frzr deploy instead. See frzr help." + exit 1 +fi + source "${BASH_SOURCE%/*}/__frzr-deploy" # TODO: check the file lock exists diff --git a/frzr-unlock b/frzr-unlock index 509e3e3..e8d4301 100755 --- a/frzr-unlock +++ b/frzr-unlock @@ -1,5 +1,10 @@ #! /bin/bash +if [ -z "$MOUNT_PATH" ]; then + echo "WARNING: frzr-unlock is being deprecated and will be removed on a future version: use frzr unlock instead. See frzr help." + exit 1 +fi + source "${BASH_SOURCE%/*}/__frzr-unlock" # TODO: check the file lock exists