diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-12-12 13:32:18 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-12-12 13:32:18 -0200 |
commit | 72a74de6302cce0ac510ec0fe139a1ae26ca07c6 (patch) | |
tree | 43f22ea2e2069b9608738130e7544861dc8e076d | |
parent | d42ab100e9a5a115b569e1eacb680364657d6a6f (diff) | |
download | puppet-backup-72a74de6302cce0ac510ec0fe139a1ae26ca07c6.tar.gz puppet-backup-72a74de6302cce0ac510ec0fe139a1ae26ca07c6.tar.bz2 |
Ensuring $BACKUP_FOLDER exists at duplicity actions
-rw-r--r-- | templates/dup.conf.erb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |