@@ -141,8 +141,8 @@ if [ -z "$MACHTYPE" ]; then
141141 fi
142142 case " $VERS " in
143143 11) DISTRO=rhel; VERS=8;;
144- 12) DISTRO=rhel; VERS=9;;
145- * ) echo " debian$VERS not supported, only 11 & 12 are" >&2
144+ 12|13 ) DISTRO=rhel; VERS=9;;
145+ * ) echo " debian$VERS not supported, only 11 through 13 are" >&2
146146 exit 2;;
147147 esac
148148 elif [ " $DISTRO " = " ubuntu" ]; then
@@ -241,24 +241,19 @@ case $1 in
241241 ;;
242242 osg)
243243 if [ $EL -lt 8 ]; then
244- REL=3.6
245- EXT=" "
246- else
247- REL=24-main
248- EXT=" /Packages/c"
244+ echo " ERROR: unsupported OS for osg! Only rhel8 and up supported" >&2
245+ exit 1
249246 fi
250- REPO=release
251- BASEURL=" https://repo.opensciencegrid.org/osg/$REL /el$EL /$REPO /x86_64$EXT "
247+ BASEURL=" https://repo.opensciencegrid.org/osg/24-main/el$EL /release/x86_64/Packages/c"
252248 BASELIST=" $( get_cvmfs_pkg_list $BASEURL ) " ;;
253249 egi)
254- OS=centos$EL
255- if [ $EL -gt 8 ]; then
250+ if [ $EL = 9 ] || ( [ $DISTRO = suse ] && [ $EL = 8 ] ); then
251+ # In the suse case we don't actually get much from the egi
252+ # distribution so the version mismatch is ok
256253 BASEURL=" https://repository.egi.eu/sw/production/umd/5/al9/release/x86_64/"
257- elif [ $EL -eq 7 ]; then
258- BASEURL=" https://repository.egi.eu/sw/production/umd/4/centos7/x86_64/updates"
259254 else
260- echo " ERROR: unsupported OS for egi! only centos7, almalinux9 supported. " >&2
261- exit 1
255+ echo " ERROR: unsupported OS for egi! Only rhel9 is supported" >&2
256+ exit 1
262257 fi
263258 BASELIST=" $( get_cvmfs_pkg_list $BASEURL ) " ;;
264259 default|none)
@@ -309,11 +304,6 @@ if [ "$ARCH" != "x86_64" ]; then
309304 # we're looking at x86_64 version repositories for the config rpm
310305 INCLUDEHELPER=false
311306fi
312- if [ " $DISTTYPE " = egi ] && [ " $EL " = 8 ]; then
313- echo " egi's UMD does not yet support rhel8" 2>&1
314- exit 1
315- fi
316-
317307
318308URLS=" "
319309CVMFSURL=" "
0 commit comments