From f77939523448cf6a71f58cc2311f9444d5c35883 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Mon, 11 Apr 2022 21:38:40 -0700 Subject: sync-osuosl-mirror: rename from sync-masterdistfiles-mirror to be clear about source Signed-off-by: Robin H. Johnson --- sync-masterdistfiles-mirror.sh | 11 ----------- sync-osuosl-mirror.sh | 11 +++++++++++ 2 files changed, 11 insertions(+), 11 deletions(-) delete mode 100755 sync-masterdistfiles-mirror.sh create mode 100755 sync-osuosl-mirror.sh diff --git a/sync-masterdistfiles-mirror.sh b/sync-masterdistfiles-mirror.sh deleted file mode 100755 index a1b8ea6..0000000 --- a/sync-masterdistfiles-mirror.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# Copyright 2011-2015 Gentoo Authors; Distributed under the GPL v2 - -FINALDIR="/data/mirror" -PASSWD_FILE="/etc/mastermirror-fetch/osuosl-rsync.passwd" -RSYNC="/usr/bin/rsync" -RSYNC_ARGS="--recursive --links --perms --times --delete --hard-links --no-motd --timeout=300 --password-file ${PASSWD_FILE}" -RSYNC_ARGS="${RSYNC_ARGS} --quiet" - -# Reminder: "masterdistfiles.g.o" is OSUOSL, hence the special user -${RSYNC} ${RSYNC_ARGS} gentoo@masterdistfiles.gentoo.org::gentoo/ ${FINALDIR}/ diff --git a/sync-osuosl-mirror.sh b/sync-osuosl-mirror.sh new file mode 100755 index 0000000..a1b8ea6 --- /dev/null +++ b/sync-osuosl-mirror.sh @@ -0,0 +1,11 @@ +#!/bin/bash +# Copyright 2011-2015 Gentoo Authors; Distributed under the GPL v2 + +FINALDIR="/data/mirror" +PASSWD_FILE="/etc/mastermirror-fetch/osuosl-rsync.passwd" +RSYNC="/usr/bin/rsync" +RSYNC_ARGS="--recursive --links --perms --times --delete --hard-links --no-motd --timeout=300 --password-file ${PASSWD_FILE}" +RSYNC_ARGS="${RSYNC_ARGS} --quiet" + +# Reminder: "masterdistfiles.g.o" is OSUOSL, hence the special user +${RSYNC} ${RSYNC_ARGS} gentoo@masterdistfiles.gentoo.org::gentoo/ ${FINALDIR}/ -- cgit v1.2.3-65-gdbad