Projects
jsj
jsj-installtools
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 97
View file
jsj-installtools.changes
Changed
@@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Fri Aug 5 07:24:32 UTC 2022 - Stefan Botter <obs@botter.cc> + +- PrepareNagiosTests: fix logic in distribution selection + +------------------------------------------------------------------- Thu Aug 4 09:10:42 UTC 2022 - Stefan Botter <obs@botter.cc> - modify PrepareNagiosTests to better detect jsj repo already
View file
PrepareNagiosTests
Changed
@@ -10,15 +10,13 @@ *) echo Variante $VAR nicht vorgesehen, bitte prüfen!; exit;; esac . /usr/share/jsjinstalltools/GetVersion -zypper sl -u | egrep "botter.cc/jsj" 2>&1 > /dev/null +zypper sl -u | egrep "botter.cc/+jsj" 2>&1 > /dev/null if $? != 0 ; then - if ${VERSION_ID/./} -lt 420 ; then - REPOVERSION="openSUSE_VERSION" - elif ${VERSION_ID/./} -le 153 ; then - REPOVERSION="openSUSE_Leap_$VERSION" - else - REPOVERSION="$VERSION" - fi + case ${VERSION_ID/./} in + 10*,11*,12*,13*,42*) REPOVERSION="openSUSE_$VERSION";; + 150,151,152,153) REPOVERSION="openSUSE_Leap_$VERSION";; + *) REPOVERSION="$VERSION";; + esac zypper ar -f https://repo.botter.cc/jsj/$REPOVERSION/jsj.repo fi if ${VERSION_ID/./} -lt 153 ; then
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.