diff options
Diffstat (limited to 'alpine-mirror.sh')
-rw-r--r-- | alpine-mirror.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/alpine-mirror.sh b/alpine-mirror.sh index 2050c88..d3970e9 100644 --- a/alpine-mirror.sh +++ b/alpine-mirror.sh @@ -18,7 +18,9 @@ SRC=rsync://rsync.alpinelinux.org/alpine/ DEST=/data01/mirror/alpine/ ## Delete the old exclusion file -rm $FILEmkdir -p $DEST +rm $FILE + +mkdir -p $DEST ## Make sure we never run 2 rsync at the same time lockfile="/tmp/alpine-mirror.lock" |