chiark / gitweb /
Quieten warning about the lack of a debian-installer Release file. (The
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Fri, 6 Sep 2002 21:49:34 +0000 (21:49 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Fri, 6 Sep 2002 21:49:34 +0000 (21:49 +0000)
redirections are a bit dodgy, but they'll do.)

my-debmirror

index bd2cc6f..1e2e5ae 100755 (executable)
@@ -2,6 +2,7 @@
 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/ "$@"
+         --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 "$@"