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.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/redhat/build/configure_repository.sh b/redhat/build/configure_repository.sh
index ce318f200..27dad6125 100755
--- a/redhat/build/configure_repository.sh
+++ b/redhat/build/configure_repository.sh
@@ -31,6 +31,7 @@ fi
# openSUSE
if [ -x /usr/bin/zypper ]; then
+ sudo rm -f "/etc/zypp/repos.d/rpmbuild"*
sudo zypper ar -G ${RPMDIR}/${ARCH} rpmbuild.${ARCH}
sudo zypper ar -G ${RPMDIR}/noarch rpmbuild.noarch
fi