diff options
Diffstat (limited to 'bin/sync-gentoo-portage.sh')
-rwxr-xr-x | bin/sync-gentoo-portage.sh | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/bin/sync-gentoo-portage.sh b/bin/sync-gentoo-portage.sh index 3f8c552..ab22e02 100755 --- a/bin/sync-gentoo-portage.sh +++ b/bin/sync-gentoo-portage.sh @@ -1,16 +1,9 @@ #!/bin/bash RSYNC="/usr/bin/rsync" -OPTS="--quiet --recursive --links --perms --times --devices --compress --delete --timeout=600" +OPTS="-4 --quiet --recursive --links --perms --times --devices --compress --delete --timeout=600" SRC="rsync://masterportage.gentoo.org/gentoo-portage" DST="/raid/gentoo-portage/" -lockfile=/tmp/`basename $0`.lock - -if lockfile -r 5 $lockfile -then - ${RSYNC} ${OPTS} ${SRC} ${DST} - echo "End: "`date` - rm -f $lockfile -fi - +${RSYNC} ${OPTS} ${SRC} ${DST} +echo "End: "`date` |