diff options
Diffstat (limited to 'bin/sync-gentoo-portage.sh')
-rwxr-xr-x | bin/sync-gentoo-portage.sh | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/bin/sync-gentoo-portage.sh b/bin/sync-gentoo-portage.sh index 3f8c552..e9ca82b 100755 --- a/bin/sync-gentoo-portage.sh +++ b/bin/sync-gentoo-portage.sh @@ -5,12 +5,5 @@ OPTS="--quiet --recursive --links --perms --times --devices --compress --delete 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` |