提交 a74ba427 编写于 作者: J Joerg Jaspert

Replace a 128 line NIH syndrom with one of those new-fangled sarge-and-later options in rsync :)

上级 cc2af696
......@@ -3,6 +3,9 @@
* config/debian/cron.unchecked: disable the ssh-move insanity (and
as soon as rietz is back online - replace it with a one-line scp
or rsync statement followed by a one-line rm)
And now replaced this 128 line perl "not-invented-here" with a
one-line rsync command, using a feature rsync only understands
since sarge - damn new-fangled technology.
2008-08-03 Mark Hymers <mhy@debian.org>
......
......@@ -33,7 +33,7 @@ if lockfile -r3 $LOCKFILE; then
echo "--" >> $report
# sync with debbugs
# $scriptsdir/ssh-move --server --ssh-identity /srv/ftp.debian.org/s3kr1t/id_debbugs-vt --ssh-move-path /home/debbugs/ssh-move --from-directory $queuedir/bts_version_track --to-directory /org/bugs.debian.org/versions/queue/ftp-master debbugs@bugs.debian.org \*.debinfo \*.versions
rsync -aq --remove-source-files $queuedir/bts_version_track/ bugs-sync:/org/bugs.debian.org/versions/queue/ftp-master/
if lockfile -r3 $NOTICE; then
LOCKDAILY="YES"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册