source: trunk/debathena/scripts/daupload-equivs-proposed @ 23639

Revision 23639, 859 bytes checked in by broder, 16 years ago (diff)
Remove daupload-equivs as well, replacing it with daupload-equivs-proposed.
  • Property svn:executable set to *
RevLine 
[22687]1#!/bin/sh
[22688]2
[23554]3# Usage: daupload-equivs CHANGESFILE
4# Usage: daupload-equivs-proposed CHANGESFILE
5# Usage: daupload-equivs-dev CHANGESFILE
[22688]6
7# Adds an equivs-generated package to all dists.  Since equivs-built
8# packages are very simple, there is no need to build them separately
9# for each dist.
10
[22748]11. $(dirname "$0")/debian-versions.sh
[22739]12
[22700]13: ${DEBATHENA_APT=/mit/debathena/apt}
14
[23554]15case "$(basename "$0")" in
16    daupload-equivs)
17        release=""
18        ;;
19    daupload-equivs-proposed)
20        release="-proposed"
21        ;;
22    daupload-equivs-dev)
[23568]23        release="-development"
[23554]24        ;;
25    *)
26        echo "Unknown release." >&2
27        exit 1
28        ;;
29esac
30
31if [ -z "$1" ]; then
32    echo "Usage: $0 CHANGESFILE" >&2
33    exit 1
34fi
35
[22739]36for code in $DEBIAN_CODES; do
[23554]37    reprepro -Vb $DEBATHENA_APT --ignore=wrongdistribution include "${code}${release}" "$1"
[22687]38done
Note: See TracBrowser for help on using the repository browser.