diff options
Diffstat (limited to 'bin/sync-gentoo-ftp-mirror.sh')
-rwxr-xr-x | bin/sync-gentoo-ftp-mirror.sh | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/bin/sync-gentoo-ftp-mirror.sh b/bin/sync-gentoo-ftp-mirror.sh index 74d9cdc..d6660f5 100755 --- a/bin/sync-gentoo-ftp-mirror.sh +++ b/bin/sync-gentoo-ftp-mirror.sh @@ -5,11 +5,5 @@ OPTS="--quiet --recursive --links --perms --times --devices --delete --timeout=6 SRC="gentoo@masterdistfiles.gentoo.org::gentoo" DST="/raid/ftp/pub/gentoo/" -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` |