first iteration after activation of Travis-CI
This commit is contained in:
parent
93e9854b98
commit
bcd64c10d2
2 changed files with 4 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ addons:
|
|||
- shellcheck
|
||||
|
||||
script:
|
||||
- shellcheck duplicity-backup.sh
|
||||
- shellcheck -e SC2153 duplicity-backup.sh
|
||||
- shellcheck -e SC2034 duplicity-backup.conf.example
|
||||
|
||||
matrix:
|
||||
|
|
|
|||
|
|
@ -432,7 +432,7 @@ get_source_file_size()
|
|||
|
||||
for include in "${DUINCLIST[@]}"; do
|
||||
echo -e "${DUEXCLIST}" | \
|
||||
du -hs ${DUEXCFLAG} ${include} | \
|
||||
du -hs ${DUEXCFLAG} "${include}" | \
|
||||
awk '{ FS="\t"; $0=$0; print $1"\t"$2 }' \
|
||||
>> "${LOGFILE}"
|
||||
done
|
||||
|
|
@ -683,7 +683,8 @@ backup_this_script()
|
|||
fi
|
||||
|
||||
if [ ! -z "${GPG_ENC_KEY}" -a ! -z "${GPG_SIGN_KEY}" ]; then
|
||||
export GPG_TTY=$(tty)
|
||||
GPG_TTY=$(tty)
|
||||
export GPG_TTY
|
||||
if [ "${GPG_ENC_KEY}" = "${GPG_SIGN_KEY}" ]; then
|
||||
gpg -a --export-secret-keys "${KEYRING}" "${GPG_ENC_KEY}" > "${TMPDIR}"/duplicity-backup-encryption-and-sign-secret.key.txt
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue