diff options
| author | Dennis Schridde <devurandom@gmx.net> | 2012-03-25 14:41:28 +0200 |
|---|---|---|
| committer | Dennis Schridde <devurandom@gmx.net> | 2012-03-25 14:41:28 +0200 |
| commit | e9c06ede98ea694f1271599b63cc2c5844e26e53 (patch) | |
| tree | 7ed8776d32f48d9f29dbd8a958e1dbd75bdfb51e /Documentation/maintainers/sync-metadata.sh | |
| parent | d16caf19feda576ec811ff756e993acf94421260 (diff) | |
| download | kde-e9c06ede98ea694f1271599b63cc2c5844e26e53.tar.gz kde-e9c06ede98ea694f1271599b63cc2c5844e26e53.tar.bz2 kde-e9c06ede98ea694f1271599b63cc2c5844e26e53.zip | |
[Documentation/maintainers] New versions of my metadata mirror scripts
sync-gentoo-overlay.sh supports mirroring a complete overlay via rsync,
which helps in keeping the metadata-cache and the ebuilds in sync.
Diffstat (limited to 'Documentation/maintainers/sync-metadata.sh')
| -rwxr-xr-x | Documentation/maintainers/sync-metadata.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/maintainers/sync-metadata.sh b/Documentation/maintainers/sync-metadata.sh new file mode 100755 index 00000000000..d02fee4c375 --- /dev/null +++ b/Documentation/maintainers/sync-metadata.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +# Contact: devurandom +METADATA_MIRROR=rsync://gentoo.kynes.de:800/gentoo-overlay-kde/metadata/cache/ + +if [[ "$(basename $(pwd))" != "Documentation" ]] ; then + echo "ERROR: This script is meant to be run from within Documentation/ !" + exit 1 +fi + +echo "Syncing KDE overlay metadata ..." +exec rsync --quiet --recursive --times --compress --delete-delay $METADATA_MIRROR ../metadata/cache/ |
