summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chu <jason@archlinux.org>2004-11-11 16:50:20 +0000
committerJason Chu <jason@archlinux.org>2004-11-11 16:50:20 +0000
commit15d5e52b95f2330f9583ecb599a012b985989c56 (patch)
tree99681a09431cdabbe36119f29f3080c0d504498b
parent85638114f1a70dd52c395e58e0532d8174a0d048 (diff)
downloaddevtools32-15d5e52b95f2330f9583ecb599a012b985989c56.tar.xz
removed requirement for t in pkgrel
git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@174 630f3fb4-fbd1-0310-a574-b293cca3120f
-rwxr-xr-xextrapkg16
1 files changed, 0 insertions, 16 deletions
diff --git a/extrapkg b/extrapkg
index af0ef7e..802946c 100755
--- a/extrapkg
+++ b/extrapkg
@@ -32,31 +32,15 @@ if [ ! -f $pkgfile ]; then
fi
if [ "$cmd" == "extrapkg" ]; then
- if echo $pkgrel | grep "t" > /dev/null 2>&1; then
- echo "Package can't be uploaded to extra with a 't' in the release"
- exit 1
- fi
repo="extra"
tag="CURRENT"
elif [ "$cmd" == "currentpkg" ]; then
- if echo $pkgrel | grep "t" > /dev/null 2>&1; then
- echo "Package can't be uploaded to current with a 't' in the release"
- exit 1
- fi
repo="current"
tag="CURRENT"
elif [ "$cmd" == "testingpkg" ]; then
- if echo $pkgrel | grep -v "t" > /dev/null 2>&1; then
- echo "Package can't be uploaded to testing without a 't' in the release"
- exit 1
- fi
repo="testing"
tag="TESTING"
elif [ "$cmd" == "unstablepkg" ]; then
- if echo $pkgrel | grep "t" > /dev/null 2>&1; then
- echo "Package can't be uploaded to unstable with a 't' in the release"
- exit 1
- fi
repo="unstable"
tag="CURRENT"
fi