miscel/synchronizepkgs.sh

Wed, 12 Sep 2012 18:46:46 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 12 Sep 2012 18:46:46 +0200
changeset 674
dd46abb0afa8
child 680
d27cad483271
permissions
-rwxr-xr-x

Correct problem of missing datadir (/share) directory, caused by recent
policy change of distribution of empty virus definitions in
database/Makefile.in. Additionally correct the permissions of
the datadir to allow freshclam(1) to properly write to it.

     1 #! /bin/sh
     3 # Wo die Quellen bleibt
     4 cd $HOME/opwrk/pkg/src
     6 # Push synchronize OpenPKG TMP and PKG SRPM
     7 rsync -n -avz --del . flur:opwrk/pkg/src
     9 # Pull synchronize OpenPKG TMP and PKG SRPM (slash wichtig)
    10 rsync -n -avz --del elotro:opwrk/pkg/src/ .

mercurial