From 15d5e52b95f2330f9583ecb599a012b985989c56 Mon Sep 17 00:00:00 2001 From: Jason Chu Date: Thu, 11 Nov 2004 16:50:20 +0000 Subject: [PATCH] removed requirement for t in pkgrel git-svn-id: http://projects.xennet.org/archtools/devtools/trunk@174 630f3fb4-fbd1-0310-a574-b293cca3120f --- extrapkg | 16 ---------------- 1 file changed, 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