projects
/
lets-encrypt-tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make sure backup dir exists
[lets-encrypt-tiny.git]
/
letsencrypt-tiny
diff --git
a/letsencrypt-tiny
b/letsencrypt-tiny
index b0b98944b2ca88297564948662eca2f3f71177ba..2e8ea149061986de112c5d0ff7bed2c7f9c690e9 100755
(executable)
--- a/
letsencrypt-tiny
+++ b/
letsencrypt-tiny
@@
-21,6
+21,7
@@
def keyfile(name):
def make_backup(fname):
if os.path.exists(fname):
+ os.makedirs(config['dirs']['backups'])
backupname = os.path.basename(fname) + "." + str(datetime.date.today())
i = 0
while True: