[arch-dev-public] [PATCH] sourceballs: Fixed kde-unstable repo support

Andrea Scarpino andrea at archlinux.org
Tue Dec 14 03:55:22 EST 2010


On Tuesday 14 December 2010 03:43:16 Eric Bélanger wrote:
> Signed-off-by: Eric Bélanger <snowmaniscool at gmail.com>
> ---
>  cron-jobs/sourceballs |    9 +++++++--
>  1 files changed, 7 insertions(+), 2 deletions(-)
> 
> diff --git a/cron-jobs/sourceballs b/cron-jobs/sourceballs
> index 6553327..0486c48 100755
> --- a/cron-jobs/sourceballs
> +++ b/cron-jobs/sourceballs
> @@ -79,8 +79,13 @@ for repo in ${PKGREPOS[@]}; do
> 
>  			# Get the sources from svn
>  			mkdir -p "${WORKDIR}/pkgbuilds/${repo}-${pkgarch}"
> -			svn export -q "${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" 
\
> -				"${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" 
>/dev/null 2>&1
> +			if ["${repo}" == 'kde-unstable' ]; then
> +				svn export -q "${SVNREPO}/${pkgbase}/${repo}" \
> +					"${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" 
>/dev/null 2>&1
> +			else
> +				svn export -q 
"${SVNREPO}/${pkgbase}/repos/${repo}-${pkgarch}" \
> +					"${WORKDIR}/pkgbuilds/${repo}-${pkgarch}/${pkgbase}" 
>/dev/null 2>&1
> +			fi
>  			if [ $? -ge 1 ]; then
>  				
failedpkgs[${#failedpkgs[*]}]="${pkgbase}-${pkgver}${SRCEXT}"
>  				continue
Well, I didn't know that I can patch our scripts to enable [kde-unstable] 
support officially. Or better, I didn't think that I can explicitly add a [kde-
unstable] case in that way because we should add a gnome-unstable and a foo-
unstable case too. Or am I wrong?

-- 
Andrea Scarpino
Arch Linux Developer


More information about the arch-dev-public mailing list