From 6e1dd2516f260a0361d65b58509106a615d0c149 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Thu, 15 Mar 2012 22:02:41 +0100 Subject: syncer scripts: move locking to cronwrapper now lockfile-progs is used as replacement for the lockfile command of procmail --- bin/sync-dslinux-svn-repo.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'bin/sync-dslinux-svn-repo.sh') diff --git a/bin/sync-dslinux-svn-repo.sh b/bin/sync-dslinux-svn-repo.sh index c302be6..92d9d74 100755 --- a/bin/sync-dslinux-svn-repo.sh +++ b/bin/sync-dslinux-svn-repo.sh @@ -8,11 +8,4 @@ ANONSVN_HOME=/raid/anonsvn SVN_ROOTDIR=$ANONSVN_HOME/dslinux -lockfile=/tmp/`basename $0`.lock - -if lockfile -r 5 $lockfile -then - (cd $SVN_ROOTDIR && rsync -q -z -a --delete rsync://pferd.in-berlin.de/dslinuxsvn/ .) - rm -f $lockfile -fi - +(cd $SVN_ROOTDIR && rsync -q -z -a --delete rsync://pferd.in-berlin.de/dslinuxsvn/ .) -- cgit v1.2.3-1-g7c22