summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 01:33:04 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-11-30 01:33:04 +0100
commitc45a14f99d83cd22b69fdef3b429378285907bc3 (patch)
tree6e72c3a7e29aa528f8626621e57d5032eb0f894e
parentde09708e185616fd3dead640e04ef66d8ff796be (diff)
downloadbuildscripts-c45a14f99d83cd22b69fdef3b429378285907bc3.tar.gz
buildscripts-c45a14f99d83cd22b69fdef3b429378285907bc3.tar.bz2
buildscripts-c45a14f99d83cd22b69fdef3b429378285907bc3.zip
update repo from remote
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 9955e4e..f2d704a 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -252,6 +252,8 @@ upload_packages() {
cd "$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH"
scp *.rpm $REPOS_SERVER:$RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$l_ARCH/rpms/
+ ssh $REPOS_SERVER cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$l_ARCH/ && createrepo .
+
}
done
done