From: Silvio Rhatto Date: Sun, 12 Dec 2010 15:32:18 +0000 (-0200) Subject: Ensuring $BACKUP_FOLDER exists at duplicity actions X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=72a74de6302cce0ac510ec0fe139a1ae26ca07c6;p=puppet-backup.git Ensuring $BACKUP_FOLDER exists at duplicity actions --- diff --git a/templates/dup.conf.erb b/templates/dup.conf.erb index a4b7210..c0b689d 100644 --- a/templates/dup.conf.erb +++ b/templates/dup.conf.erb @@ -24,6 +24,7 @@ TMP="/var/tmp" mkdir -p $TMP export PASSPHRASE='<%= password %>' +mkdir -p $BACKUP_FOLDER # adds support for checking the existing backup if [ "$1" == "--check" ]; then