Skip to content

Commit

Permalink
fix: check if certs dir exist before create
Browse files Browse the repository at this point in the history
Signed-off-by: Mustafa Baser <[email protected]>
  • Loading branch information
devrimyatar committed May 4, 2024
1 parent 9220025 commit 8d58219
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gluu_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,8 +413,8 @@ def package_oxd():

shutil.copy(os.path.join(gluu_app_dir, 'facter'), '/usr/bin')
os.chmod('/usr/bin/facter', 33261)

os.makedirs(certs_dir)
if not os.path.exists(certs_dir):
os.makedirs(certs_dir)
shutil.copy(os.path.join(gluu_app_dir, 'casa.pub'), certs_dir)

if argsp.upgrade:
Expand Down

0 comments on commit 8d58219

Please sign in to comment.