[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: actually *check* for EPEL.

git-admin at x2go.org git-admin at x2go.org
Fri Feb 20 19:30:27 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit f0da677d2ac2c8be7fe1300977252922bc1999f8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Feb 20 19:30:24 2015 +0100

    bin/build-rpm-package: actually *check* for EPEL.
---
 bin/build-rpm-package |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 445f03b..b8d669c 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -426,7 +426,7 @@ upload_packages() {
 					scp *.rpm $REPOS_SERVER:$RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/rpms/$PROJECT/ || true
 
 					CREATEREPO_OPTS=""
-					if [ "$l_DIST" = "" ] && [ "$l_CODENAME" = "5" ]; then
+					if [ "$l_DIST" = "epel" ] && [ "$l_CODENAME" = "5" ]; then
 						CREATEREPO_OPTS="-s sha"
 					fi
 					0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/ && createrepo ${CREATEREPO_OPTS} ."

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list