summaryrefslogtreecommitdiffstats
path: root/check-mirror.sh
diff options
context:
space:
mode:
authorTill Maas <opensource@till.name>2009-07-18 12:26:08 +0200
committerTill Maas <opensource@till.name>2009-07-18 12:26:08 +0200
commitb5a958ce802efe524cf48b698bf567e955244bcc (patch)
tree49ea8008a3e45edb5bdf091bd624b09d52c53e4d /check-mirror.sh
parent5999216f723774d7dd28819708ee51e1d7a54fca (diff)
downloadcnucnu-b5a958ce802efe524cf48b698bf567e955244bcc.tar.gz
cnucnu-b5a958ce802efe524cf48b698bf567e955244bcc.tar.xz
cnucnu-b5a958ce802efe524cf48b698bf567e955244bcc.zip
New default repo: redhat fedora mirror
Diffstat (limited to 'check-mirror.sh')
-rwxr-xr-xcheck-mirror.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/check-mirror.sh b/check-mirror.sh
new file mode 100755
index 0000000..861e177
--- /dev/null
+++ b/check-mirror.sh
@@ -0,0 +1,6 @@
+#! /bin/bash
+
+PATH="/bin:/usr/bin:/sbin:/usr/sbin"
+echo "checking: ${1}"
+wget -O - http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS | grep --color=auto "${1}"
+#wget -O - http://download.fedoraproject.org/pub/fedora/linux/development/source/SRPMS | grep --color=auto "${1}"