DEBIAN_DIST="etch lenny"
UBUNTU_DIST="jaunty intrepid hardy"
+if test "$2" = "upload"; then
+ for dist in ${UBUNTU_DIST}; do
+ scp ${dist}-*/* ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/ubuntu/${dist}
+ done
+ for dist in ${DEBIAN_DIST}; do
+ scp ${dist}-*/* ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/debian/${dist}
+ done
+ exit 0
+fi
for dist in ${UBUNTU_DIST} ${DEBIAN_DIST}; do
for arch in i386 amd64; do
if test ! -f /var/cache/pbuilder/${dist}-${arch}-base.tgz; then
done
done
-if false; then
-for dist in ${UBUNTU_DIST}; do
- scp ${dist}-*/* ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/ubuntu/${dist}
-done
-for dist in ${DEBIAN_DIST}; do
- scp ${dist}-*/* ftp.indexdata.dk:/home/ftp/pub/${PRODUCT}/debian/${dist}
-done
-fi