improve s3cmd not installed message, ie mention PATH

This commit is contained in:
Philip 2015-01-27 13:13:18 +00:00
parent 3fcfb220c2
commit 08cb675755

View file

@ -212,7 +212,7 @@ elif [ "$ENCRYPTION" = "no" ]; then
ENCRYPT="--no-encryption" ENCRYPT="--no-encryption"
fi fi
NO_S3CMD="WARNING: s3cmd is not installed, remote file \ NO_S3CMD="WARNING: s3cmd no found in PATH, remote file \
size information unavailable." size information unavailable."
NO_S3CMD_CFG="WARNING: s3cmd is not configured, run 's3cmd --configure' \ NO_S3CMD_CFG="WARNING: s3cmd is not configured, run 's3cmd --configure' \
in order to retrieve remote file size information. Remote file \ in order to retrieve remote file size information. Remote file \
@ -418,7 +418,7 @@ get_remote_file_size()
if ! $S3CMD_CONF_FOUND ; then if ! $S3CMD_CONF_FOUND ; then
SIZE="s3cmd config not found" SIZE="s3cmd config not found"
else else
SIZE="s3cmd not installed" SIZE="s3cmd not found in PATH"
fi fi
fi fi
;; ;;