Revision 24079,
525 bytes
checked in by broder, 15 years ago
(diff) |
Add convenience repo-management scripts dacopy and daremove, and
change damove to use those.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[24079] | 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 | : ${DEBATHENA_APT=/mit/debathena/apt} |
---|
| 12 | . $(dirname "$0")/debian-versions.sh |
---|
| 13 | |
---|
| 14 | if [ "$#" -ne 2 ]; then |
---|
| 15 | echo "Usage: daremove SUFFIX SOURCE_PACKAGE" >&2 |
---|
| 16 | exit 1 |
---|
| 17 | fi |
---|
| 18 | |
---|
| 19 | for code in $DEBIAN_CODES; do |
---|
| 20 | reprepro -Vb $DEBATHENA_APT removesrc "${code}${1}" "$2" |
---|
| 21 | done |
---|
Note: See
TracBrowser
for help on using the repository browser.