]> asedeno.scripts.mit.edu Git - sipb-mirrors.git/commitdiff
Added OpenBSD
authorAdam Suhl <asuhl@mit.edu>
Mon, 29 Jun 2015 23:56:45 +0000 (19:56 -0400)
committerVictor Vasiliev <vasilvv@mit.edu>
Mon, 29 Jun 2015 23:57:45 +0000 (19:57 -0400)
fetch-scripts/openbsd [new file with mode: 0644]

diff --git a/fetch-scripts/openbsd b/fetch-scripts/openbsd
new file mode 100644 (file)
index 0000000..aa08cb9
--- /dev/null
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+RSYNCSOURCE=rsync://mirrors.nycbug.org/OpenBSD
+BASEDIR=${MIRRORDIR}/pub/OpenBSD
+
+mkdir -p ${BASEDIR}
+rsync --archive --delete --stats --verbose \
+       --exclude='/timestamp' \
+       ${RSYNCSOURCE} ${BASEDIR}
+date +%s > ${BASEDIR}/timestamp