Blame tests/p_python38-mod_wsgi/20-remove_python38-mod_wsgi.sh

ff5c87
#!/bin/bash
ff5c87
f49232
f49232
if (t_GetPkgRel basesystem | grep -q el9)
f49232
then
f49232
  t_Log "This is a C9 system. python38-mod_wsgi not present. Skipping."
f49232
  t_CheckExitStatus 0
f49232
  exit $PASS
f49232
fi
f49232
ff5c87
t_Log "Running $0 - removing python38-mod_wsgi"
ff5c87
ff5c87
if [[ $centos_ver -lt 8 ]]; then
ff5c87
    t_Log "python38-mod_wsgi doesn't exist before CentOS 8 -> SKIP"
ff5c87
    exit 0
ff5c87
fi
ff5c87
ed8a63
# TODO: remove after 8.2 rebuild
ed8a63
if [[ $centos_stream == "no" ]]; then
ed8a63
    t_Log "python38-mod_wsgi is only in CentOS Stream -> SKIP"
ed8a63
    exit 0
ed8a63
fi
ed8a63
ff5c87
t_RemovePackage python38-mod_wsgi