aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2020-05-25 15:18:54 +0200
committerOliver Smith <osmith@sysmocom.de>2020-05-25 15:18:54 +0200
commit1a190941047372c6ae6d2297b3588dcea79e8dbd (patch)
tree2052d6bd58d0e33f8dd49af148dd7cc952a0d1a1
parentd90caf6c5c699c02dcd3dc52b0bb79b3bf8e0076 (diff)
install_test_obs.sh: test network:osmocom:nextosmith/rpm-local
-rwxr-xr-xrpm-local/scripts/install_test_obs.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/rpm-local/scripts/install_test_obs.sh b/rpm-local/scripts/install_test_obs.sh
index 1ba9af8..5936860 100755
--- a/rpm-local/scripts/install_test_obs.sh
+++ b/rpm-local/scripts/install_test_obs.sh
@@ -1,11 +1,12 @@
#!/bin/sh -ex
-REPO_FILE="home:osmith42.repo"
+REPO="network:osmocom:next"
+REPO_FILE="$REPO.repo"
# Download repo file
cd /root/yum_repos
if ! [ -e "$REPO_FILE" ]; then
dnf --setopt=keepcache=1 -y install wget
- wget https://download.opensuse.org/repositories/home:osmith42/CentOS_8_Stream/home:osmith42.repo
+ wget https://download.opensuse.org/repositories/$REPO/CentOS_8_Stream/$REPO_FILE
fi
# Enable repo