aboutsummaryrefslogtreecommitdiff
path: root/duply/scripts
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2020-09-05 15:14:15 +0200
committerSébastien Dailly <sebastien@chimrod.com>2020-09-05 15:14:15 +0200
commitfb179a46d07acb29fbe61c0a46753a7e70d5ea72 (patch)
tree4523b105c813d100794b676f3649c836fe160a85 /duply/scripts
parente2bed5b540cab47414488debdfb10ebd8421a21b (diff)
Update duply script
Diffstat (limited to 'duply/scripts')
-rw-r--r--duply/scripts/duplicity/duply_common.sh7
1 files changed, 6 insertions, 1 deletions
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_' "