From fb179a46d07acb29fbe61c0a46753a7e70d5ea72 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 5 Sep 2020 15:14:15 +0200 Subject: Update duply script --- duply/scripts/duplicity/duply_common.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'duply/scripts') diff --git a/duply/scripts/duplicity/duply_common.sh b/duply/scripts/duplicity/duply_common.sh index c2c330c..fed8481 100644 --- a/duply/scripts/duplicity/duply_common.sh +++ b/duply/scripts/duplicity/duply_common.sh @@ -8,6 +8,11 @@ function gpg_export_if_needed { echo "Prevent GPG keys for beeing exported" } +# Always mark the secret key as available (do not try to import it) +function gpg_sec_avail { + true +} + # Override the read command with zenity read() { if command -v zenity &> /dev/null @@ -24,4 +29,4 @@ read() { TARGET="multi:${JSON_CONF}?mode=mirror&onfail=continue" -DUPL_PARAMS="$DUPL_PARAMS --file-prefix-manifest 'hot_' --file-prefix-signature 'hot_' --file-prefix-archive 'cold_' --sign-key ${USER_GPG_KEY_SIGN} " +DUPL_PARAMS="$DUPL_PARAMS --file-prefix-manifest 'hot_' --file-prefix-signature 'hot_' --file-prefix-archive 'cold_' " -- cgit v1.2.3