use new git url
This commit is contained in:
parent
0557e7051e
commit
b9135fd891
3 changed files with 20 additions and 12 deletions
|
|
@ -159,14 +159,14 @@ def command_update_static(*args):
|
|||
if os.path.exists(old_oxjs) and not os.path.exists(oxjs):
|
||||
shutil.move(old_oxjs, oxjs)
|
||||
if not os.path.exists(oxjs):
|
||||
r('git', 'clone', '--depth', '1', 'https://git.0x2620.org/oxjs.git', oxjs)
|
||||
r('git', 'clone', '--depth', '1', 'https://code.0x2620.org/0x2620/oxjs.git', oxjs)
|
||||
elif os.path.exists(os.path.join(oxjs, '.git')):
|
||||
os.system('cd "%s" && git pull' % oxjs)
|
||||
r('python3', os.path.join(oxjs, 'tools', 'build', 'build.py'), '-nogeo')
|
||||
utils.update_static()
|
||||
reader = os.path.join(settings.base_dir, '..', 'reader')
|
||||
if not os.path.exists(reader):
|
||||
r('git', 'clone', '--depth', '1', 'https://git.0x2620.org/openmedialibrary_reader.git', reader)
|
||||
r('git', 'clone', '--depth', '1', 'https://code.0x2620.org/0x2620/openmedialibrary_reader.git', reader)
|
||||
elif os.path.exists(os.path.join(reader, '.git')):
|
||||
os.system('cd "%s" && git pull' % reader)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue