summaryrefslogtreecommitdiff
path: root/commitpkg2any
diff options
context:
space:
mode:
authorFrancois Charette <francois@archlinux.org>2009-09-18 21:48:59 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-09-18 13:13:08 -0700
commite1b0d2302750e212ca75f756018073239eaf1579 (patch)
treeceeb79d02a1a094d0395140bc72a968b9fb702fd /commitpkg2any
parenta5651376b489e63cf48da82d4c82958205660837 (diff)
downloaddevtools-e1b0d2302750e212ca75f756018073239eaf1579.tar.xz
remove commitpkg2any
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'commitpkg2any')
-rwxr-xr-xcommitpkg2any33
1 files changed, 0 insertions, 33 deletions
diff --git a/commitpkg2any b/commitpkg2any
deleted file mode 100755
index db6b70b..0000000
--- a/commitpkg2any
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/bash
-# This script commits an existing package as an 'any'
-# package. It is simply to help aid in the conversion
-# to any-based packages
-
-if [ $# -ne 1 ]; then
- echo "Syntax: $(basename $0) <repo>"
- exit 1
-fi
-
-repo=$1
-
-source PKGBUILD
-
-sed -i 's|^arch=.\+$|arch=(any)|' PKGBUILD
-
-svn commit -m "upgpkg: $pkgname $pkgver-$pkgrel
- Converted to arch=any" > /dev/null
-
-archrelease $repo-any
-if [ $? -ne 0 ]; then
- echo "Cancelled"
- exit 1
-fi
-echo "===> Tagged for $repo-any"
-
-pushd ..
-svn rm $repo-i686
-svn rm $repo-x86_64
-svn commit -m "removed $repo-i686 and $repo-x86_64 for $pkgname"
-popd
-
-echo "Don't forget to run \"/arch/db-update $repo\" on gerolde"