[UDD] Small patch for UDD importer
Hi,
when running the update process of my copy of UDD I get always a lot of
warnings of type
...
rsync: opendir "/dists/sid/non-free/binary-all/.~tmp~" (in debian) failed: Permission denied (13)
rsync: opendir "/dists/sid/non-free/binary-alpha/.~tmp~" (in debian) failed: Permission denied (13)
rsync: opendir "/dists/sid/non-free/binary-amd64/.~tmp~" (in debian) failed: Permission denied (13)
rsync: opendir "/dists/sid/non-free/binary-armel/.~tmp~" (in debian) failed: Permission denied (13)
rsync: opendir "/dists/sid/non-free/binary-hppa/.~tmp~" (in debian) failed: Permission denied (13)
rsync: opendir "/dists/sid/non-free/binary-hurd-i386/.~tmp~" (in debian) failed: Permission denied (13)
...
This could be easily fixed by the following patch:
$ svn diff
Index: scripts/sync-dist.sh
===================================================================
--- scripts/sync-dist.sh (Revision 1935)
+++ scripts/sync-dist.sh (Arbeitskopie)
@@ -4,4 +4,4 @@
# /org/udd.debian.net/udd/scripts/sync-dist.sh archive.ubuntu.com::ubuntu/dists/intrepid /org/udd.debian.net/mirrors/ubuntu/intrepid
[ -d $2 ] || mkdir -p $2
-rsync -rd --no-motd --include "Packages.gz" --include "Sources.gz" --include "**/" --exclude "*" $1 $2
+rsync -rd --no-motd --include "Packages.gz" --include "Sources.gz" --include "**/" --exclude "*" --exclude ".~tmp~" $1 $2
Because I have no idea about thi .~tmp~ directories I would like to ask
here whether this patch might lead to any loss of information or whether
I should simply commit it to SVN.
Kind regards
Andreas.
--
http://fam-tille.de
Reply to: