diff options
author | Michael Imhof <tantive@gentoo.org> | 2005-07-28 22:31:42 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2005-07-28 22:31:42 +0000 |
commit | fe69ac2db1e357d9ee8c66d2c8428612fc33ec07 (patch) | |
tree | 52be79496ec0fb4187cdb731b6c0d4a4340b7f5a /app-admin/gentoo-rsync-mirror/files | |
parent | stable on amd64 (diff) | |
download | historical-fe69ac2db1e357d9ee8c66d2c8428612fc33ec07.tar.gz historical-fe69ac2db1e357d9ee8c66d2c8428612fc33ec07.tar.bz2 historical-fe69ac2db1e357d9ee8c66d2c8428612fc33ec07.zip |
Patched gentoo-rsync-mirror script. Changed metadata. Closes #88054.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'app-admin/gentoo-rsync-mirror/files')
-rw-r--r-- | app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r5 | 0 | ||||
-rw-r--r-- | app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh | 21 |
2 files changed, 11 insertions, 10 deletions
diff --git a/app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r5 b/app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r5 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-admin/gentoo-rsync-mirror/files/digest-gentoo-rsync-mirror-1.0-r5 diff --git a/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh b/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh index c37b8279b730..8224f0c2aa54 100644 --- a/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh +++ b/app-admin/gentoo-rsync-mirror/files/rsync-gentoo-portage.sh @@ -1,10 +1,11 @@ -#!/bin/bash - -source /etc/rsync/gentoo-mirror.conf - -echo "Started update at" `date` >> $0.log 2>&1 -logger -t rsync "re-rsyncing the gentoo-portage tree" -${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1 - -echo "End: "`date` >> $0.log 2>&1 - +#!/bin/bash
+
+source /etc/rsync/gentoo-mirror.conf
+
+echo "Started update at" `date` >> $0.log 2>&1
+logger -t rsync "re-rsyncing the gentoo-portage tree"
+${RSYNC} ${OPTS} ${SRC} ${DST} >> $0.log 2>&1
+logger -t rsync "deleting spurious Changelog files"
+find ${DST} -iname ".ChangeLog*" | xargs rm -rf
+
+echo "End: "`date` >> $0.log 2>&1
\ No newline at end of file |