aboutsummaryrefslogtreecommitdiffstats
path: root/backuper.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backuper.sh')
-rw-r--r--backuper.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/backuper.sh b/backuper.sh
index 6b297ee..ce66ba0 100644
--- a/backuper.sh
+++ b/backuper.sh
@@ -88,6 +88,13 @@ compute_gpg_recipients() {
done
}
+add_gpg_recipient() {
+ PARAM="$1"
+ if ! echo "$GPG_RECIPIENTS" | grep -q -- "$PARAM" ; then
+ GPG_RECIPIENTS="$GPG_RECIPIENTS $PARAM"
+ fi
+}
+
## Program control
error() {
if [ -n "$1" ]; then