chiark / gitweb /
my-debmirror: Continue on errors so that the non-US mirror is updated even
[bin.git] / my-debmirror
index bd2cc6f71decc1f7cec7a0b8a307099ba169598b..79ce8c6b79b5f3710eda23995ac6df81436e172c 100755 (executable)
@@ -1,7 +1,8 @@
-#! /bin/sh -e
+#! /bin/sh
 DEB_MIRROR=${DEB_MIRROR:-ftp.de.debian.org}
 debmirror /mirror/debian -h "$DEB_MIRROR" --passive \
-         --nosource --section=main,main/debian-installer --getcontents \
-         --ignore=non-US/ "$@"
+         --nosource --section=main,contrib,non-free,main/debian-installer \
+         --getcontents --ignore=non-US/ "$@" 2>&1 >/dev/null | \
+         grep -v 'debian-installer.*Release' 1>&2
 debmirror /mirror/debian/non-US -h "$DEB_MIRROR" -r /debian-non-US --passive \
-         --nosource --section=main -d unstable/non-US --getcontents "$@"
+         --nosource -d unstable/non-US --getcontents "$@"