[arch-projects] [devtools] commitpkg: clean up svn after changing arch from any to i686/x86_64

Pierre Schmitz pierre at archlinux.de
Sun Apr 17 05:56:47 EDT 2011


On Fri, 15 Apr 2011 16:45:46 -0400, Eric Bélanger wrote:
> Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
> ---
>  commitpkg |    9 +++++++++
>  1 files changed, 9 insertions(+), 0 deletions(-)
> 
> diff --git a/commitpkg b/commitpkg
> index c57213b..7d533a0 100755
> --- a/commitpkg
> +++ b/commitpkg
> @@ -160,4 +160,13 @@ if [ "${arch[*]}" == 'any' ]; then
>  		echo 'done'
>  		popd >/dev/null
>  	fi
> +else
> +	if [ -d ../repos/$repo-any ]; then
> +		pushd ../repos/ >/dev/null
> +		echo "removing $repo-any..."
> +		svn rm $repo-any
> +		svn commit -q -m "removed $repo-any for $pkgname"
> +		echo 'done'
> +		popd >/dev/null
> +	fi
>  fi

applied

-- 
Pierre Schmitz, https://users.archlinux.de/~pierre


More information about the arch-projects mailing list