mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Add ability to symlink the archives dir
This commit is contained in:
parent
afc520fb06
commit
436c6d74bb
1 changed files with 1 additions and 1 deletions
|
@ -2300,7 +2300,7 @@ def backup_delete(name):
|
|||
|
||||
def _create_archive_dir():
|
||||
""" Create the YunoHost archives directory if doesn't exist """
|
||||
if not os.path.isdir(ARCHIVES_PATH):
|
||||
if not os.path.isdir(ARCHIVES_PATH) and not os.path.islink(ARCHIVES_PATH):
|
||||
os.mkdir(ARCHIVES_PATH, 0750)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue