Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6c81c6d3fb
Fetching contributors…

Cannot retrieve contributors at this time

executable file 22 lines (17 sloc) 0.823 kb
#!/bin/bash
source "/usr/share/dar/dar-functions"
upload="";
(
echo "cd /libc6"
for list in $(ls $PACKAGEDIR); do
if [ -f "$PACKAGEDIR/$list/DEPRECATED" ]; then continue; fi
echo "Sending package $list." >&2
for name in $(rpm -qp $PACKAGEDIR/$list/*.{noarch,i386,i686}.rpm --queryformat "%{name}\n" | sort | uniq); do
version="$(rpm -qp $PACKAGEDIR/$list/$name-*.{noarch,i386,i686}.rpm --queryformat "%{version}\n" | sort | uniq | tail -1)"
release="$(rpm -qp $PACKAGEDIR/$list/$name-$version-*.{noarch,i386,i686}.rpm --queryformat "%{release}\n" | sort | uniq | tail -1)"
echo "mput $(ls $PACKAGEDIR/$list/$name-$version-$release.*.rpm)" | grep -v ".src.rpm"
done
echo "mput $(ls $PACKAGEDIR/$list/$list-$version-${release//.*/}*.src.rpm)"
done
) | lftp incoming.redhat.com >>$LOGDIR/dar-contrib.log
exit 0
Jump to Line
Something went wrong with that request. Please try again.