Revision 24565,
470 bytes
checked in by broder, 14 years ago
(diff) |
Add a dareprepro script.
Since there are a handful of arguments that we *always* pass to
reprepro, add a wrapper for reprepro that passes them for us.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | # Usage: daremove SUFFIX SOURCE_PACKAGE |
---|
4 | |
---|
5 | # Remove the source package from the given suffix, where a suffix is |
---|
6 | # probably one of "", "-proposed", or "-development" |
---|
7 | # |
---|
8 | # This removes any source or binary package built from the source |
---|
9 | # package PACKAGE |
---|
10 | |
---|
11 | . $(dirname "$0")/debian-versions.sh |
---|
12 | |
---|
13 | if [ "$#" -ne 2 ]; then |
---|
14 | echo "Usage: daremove SUFFIX SOURCE_PACKAGE" >&2 |
---|
15 | exit 1 |
---|
16 | fi |
---|
17 | |
---|
18 | for code in $DEBIAN_CODES; do |
---|
19 | dareprepro removesrc "${code}${1}" "$2" |
---|
20 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.