source: trunk/debathena/scripts/daremove @ 24079

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