I don't know whether cross-install is part of a package in which case
I should be filing a Debian bug report...

When downloading, remember to create the section directory in the
repository.

-John

--- cross-install~      Fri Sep 17 23:16:41 1999
+++ cross-install       Sat Sep 18 00:03:07 1999
@@ -245,8 +245,10 @@
                if ! [ -z "$download" ]; then
                        echo "- ${pname} not found, downloading from 
${download}."
                        mkdir -p ${repository}/partial
+                       section=`dirname ${pname}`
+                       mkdir -p ${repository}/${section}
                        wget --retr-symlinks -cqP ${repository}/partial 
ftp://${download}/debian/dists/unstable/main/binary-hurd-i386/${pname}_\*.deb
-                       mv ${repository}/partial/`basename ${pname}`_*.deb 
${repository}/`dirname ${pname}`
+                       mv ${repository}/partial/`basename ${pname}`_*.deb 
${repository}/${section}
                        package=`ls -1 ${repository}/${pname}_*.deb 2> 
/dev/null | tail -n 1`
                        matches=`ls -1 ${repository}/${pname}_*.deb 2> 
/dev/null | wc -l`
                fi

Reply via email to