summaryrefslogtreecommitdiffstats
path: root/redhat/build/configure_repository.sh
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/build/configure_repository.sh')
-rwxr-xr-xredhat/build/configure_repository.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh
index 22ddaf4f7..18c91eb1a 100755
--- a/redhat/build/configure_repository.sh
+++ b/redhat/build/configure_repository.sh
@@ -28,3 +28,9 @@ if [ -x /usr/sbin/urpmi ]; then
sudo urpmi.addmedia rpmbuild.${ARCH} ${RPMDIR}/${ARCH}
sudo urpmi.addmedia rpmbuild.noarch ${RPMDIR}/noarch
fi
+
+# openSUSE
+if [ -x /usr/bin/zypper ]; then
+ sudo zypper ar -G ${RPMDIR}/${ARCH} rpmbuild.${ARCH}
+ sudo zypper ar -G ${RPMDIR}/noarch rpmbuild.noarch
+fi