fixed bugs

This commit is contained in:
Jeffrey Paul 2016-04-08 23:08:04 +02:00
parent 224ce21051
commit 4d6c476008
Signed by: sneak
GPG Key ID: 052443F4DF2A55C2
3 changed files with 4 additions and 3 deletions

View File

@ -1,4 +1,5 @@
#!/bin/bash #!/bin/bash
cd /opt/mirror && make cd /opt/mirror && make
sleep 21600
sleep ${MIRROR_INTERVAL_SECONDS:-43200}

View File

@ -3,4 +3,4 @@
default: mirror default: mirror
mirror: mirror:
run-one-until-success bash mirror.sh run-one-until-success bash syncubuntu.sh

View File

@ -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 \