From 72a74de6302cce0ac510ec0fe139a1ae26ca07c6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 12 Dec 2010 13:32:18 -0200 Subject: Ensuring $BACKUP_FOLDER exists at duplicity actions --- templates/dup.conf.erb | 1 + 1 file changed, 1 insertion(+) (limited to 'templates') 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 -- cgit v1.2.3