use keyrings as keycheck.sh does, add script for synchronizing (thanks to keycheck.sh)

This commit is contained in:
Jan Dittberner 2009-08-14 22:13:05 +02:00
부모 c23223dc83
커밋 e9da0c6489
2개의 변경된 파일29개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -19,7 +19,7 @@
# <http://www.gnu.org/licenses/>.
#
[DEFAULT]
keyring.dir=/usr/share/keyrings
keyring.dir=~/debian/keyring.debian.org/keyrings
urlbuilder.sections=overview,bugs,build,qa,upload,lists,files,membership,
miscellaneous

28
synckeyrings.sh Executable file
파일 보기

@ -0,0 +1,28 @@
#!/bin/bash
# Copyright (C) 2009 Jan Dittberner <jandd@debian.org> and others This
# little script is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; version 3.
#
# On Debian systems, the complete text of the GNU General Public
# License can be found in /usr/share/common-licenses/GPL-3 file.
#
# This script syncs local copies of the debian-keyring with
# keyring.d.o (the keyring package is too old).
#
# ~/debian/keyring.debian.org/keyrings/ will be created if it doesn't exist.
# Always exit if there is an error
set -e
# For the rsync of the debian keyrings and for the nm.gpg
DESTDIR="${DEBHOME:-"$HOME/debian"}/keyring.debian.org/keyrings"
# For the following calls use LANG=C - some output is used for
# reports to a list / for an english report.
LANG=C
export LANG
test -d $DESTDIR || mkdir -p $DESTDIR
rsync -qcltz --block-size=8192 --partial --progress --exclude='emeritus-*' --exclude='removed-*' 'keyring.debian.org::keyrings/keyrings/*' $DESTDIR/.