projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
action RT#7389 - debconf19.debconf.org setup
[mirror/dsa-puppet.git]
/
modules
/
roles
/
files
/
static-mirroring
/
static-master-run
diff --git
a/modules/roles/files/static-mirroring/static-master-run
b/modules/roles/files/static-mirroring/static-master-run
index
7571bad
..
95c9355
100755
(executable)
--- a/
modules/roles/files/static-mirroring/static-master-run
+++ b/
modules/roles/files/static-mirroring/static-master-run
@@
-182,6
+182,9
@@
def run_mirror(component):
locks.append(fd)
log("All locks acquired.")
+ for p in (live, ):
+ if not os.path.exists(p): os.mkdir(p, 0755)
+
#for p in (componentdir, live, tmpdir_new):
# if not os.path.exists(p): os.mkdir(p, 0755)
# fd = os.open(p, os.O_RDONLY)