fixed bugs
This commit is contained in:
parent
224ce21051
commit
4d6c476008
@ -1,4 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd /opt/mirror && make
|
cd /opt/mirror && make
|
||||||
sleep 21600
|
|
||||||
|
sleep ${MIRROR_INTERVAL_SECONDS:-43200}
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
default: mirror
|
default: mirror
|
||||||
|
|
||||||
mirror:
|
mirror:
|
||||||
run-one-until-success bash mirror.sh
|
run-one-until-success bash syncubuntu.sh
|
||||||
|
@ -8,7 +8,7 @@ debmirror \
|
|||||||
-a i386,amd64 \
|
-a i386,amd64 \
|
||||||
--no-source \
|
--no-source \
|
||||||
-s main,restricted,universe,multiverse \
|
-s main,restricted,universe,multiverse \
|
||||||
-h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com}
|
-h ${UBUNTU_MIRROR_SOURCE:-archive.ubuntu.com} \
|
||||||
-d trusty,trusty-updates,trusty-security,trusty-backports \
|
-d trusty,trusty-updates,trusty-security,trusty-backports \
|
||||||
-d xenial,xenial-updates,xenial-security,xenial-backports \
|
-d xenial,xenial-updates,xenial-security,xenial-backports \
|
||||||
-r /ubuntu \
|
-r /ubuntu \
|
||||||
|
Loading…
Reference in New Issue
Block a user