diff options
Diffstat (limited to 'extensions/install-files.configure')
-rwxr-xr-x | extensions/install-files.configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/install-files.configure b/extensions/install-files.configure index 64fcecca..78a3cace 100755 --- a/extensions/install-files.configure +++ b/extensions/install-files.configure @@ -91,7 +91,8 @@ class InstallFilesConfigureExtension(writeexts.Extension): '"%s" exists and is not identical to directory ' '"%s"' % (dest_path, entry)) else: - os.mkdir(dest_path, mode) + if not os.path.exists(dest_path): + os.mkdir(dest_path, mode) os.chown(dest_path, uid, gid) os.chmod(dest_path, mode) |