source: trunk/debathena/scripts/daupload-equivs @ 23568

Revision 23568, 859 bytes checked in by broder, 14 years ago (diff)
Change -dev to -development in the daupload scripts.
  • Property svn:executable set to *
Line 
1#!/bin/sh
2
3# Usage: daupload-equivs CHANGESFILE
4# Usage: daupload-equivs-proposed CHANGESFILE
5# Usage: daupload-equivs-dev CHANGESFILE
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
11. $(dirname "$0")/debian-versions.sh
12
13: ${DEBATHENA_APT=/mit/debathena/apt}
14
15case "$(basename "$0")" in
16    daupload-equivs)
17        release=""
18        ;;
19    daupload-equivs-proposed)
20        release="-proposed"
21        ;;
22    daupload-equivs-dev)
23        release="-development"
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
36for code in $DEBIAN_CODES; do
37    reprepro -Vb $DEBATHENA_APT --ignore=wrongdistribution include "${code}${release}" "$1"
38done
Note: See TracBrowser for help on using the repository browser.