08cb675755cc3b5f707dd304f9963a7159bb2a27

Author
Philip <philip@yewtreeapps.com>
Committer
Philip <philip@yewtreeapps.com>
Date

Message

improve s3cmd not installed message, ie mention PATH

Diff

 1diff --git a/duplicity-backup.sh b/duplicity-backup.sh
 2index 96b29b828c6d67fb47d6f4ea16a8583be8d65623..f43cf4abc7713a5d843d18aa513868f3b543e4ef 100755
 3--- a/duplicity-backup.sh
 4+++ b/duplicity-backup.sh
 5@@ -212,7 +212,7 @@ elif [ "$ENCRYPTION" = "no" ]; then
 6   ENCRYPT="--no-encryption"
 7 fi
 8 
 9-NO_S3CMD="WARNING: s3cmd is not installed, remote file \
10+NO_S3CMD="WARNING: s3cmd no found in PATH, remote file \
11 size information unavailable."
12 NO_S3CMD_CFG="WARNING: s3cmd is not configured, run 's3cmd --configure' \
13 in order to retrieve remote file size information. Remote file \
14@@ -418,7 +418,7 @@ get_remote_file_size()
15           if ! $S3CMD_CONF_FOUND ; then
16               SIZE="s3cmd config not found"
17           else
18-              SIZE="s3cmd not installed"
19+              SIZE="s3cmd not found in PATH"
20           fi
21       fi
22     ;;