mirror of https://github.com/openspug/spug
U improve update
parent
c44f1b776a
commit
5e8ae517e5
|
@ -28,7 +28,7 @@ class Command(BaseCommand):
|
|||
# update web
|
||||
web_dir = os.path.join(settings.BASE_DIR, '../spug_web')
|
||||
commands = [
|
||||
f'curl -o /tmp/spug_web.tar.gz https://spug.dev/installer/web_{version}.tar.gz',
|
||||
f'curl -o /tmp/spug_web.tar.gz http://cdn.qbangmang.com/spug/web_{version}.tar.gz',
|
||||
f'rm -rf {web_dir}/build',
|
||||
f'tar xf /tmp/spug_web.tar.gz -C {web_dir}'
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue