aboutsummaryrefslogtreecommitdiff
path: root/duply/scripts
diff options
context:
space:
mode:
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_' "