From ba0be060d9483eb2608f8280145aaaa33bb39318 Mon Sep 17 00:00:00 2001 From: bryan Date: Fri, 14 Jan 2022 01:22:39 -0500 Subject: [PATCH] Warn about missing createrepo on suse --- installJRMC | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installJRMC b/installJRMC index 2fa902f..ea139ec 100755 --- a/installJRMC +++ b/installJRMC @@ -1558,8 +1558,11 @@ main() { fi if (( CREATEREPO_SWITCH )); then + if [[ "$ID" == "suse" ]]; then + err "createrepo is not available on SUSE" + exit 1 + fi runCreaterepo - exit $? fi if [[ "${#SERVICES[@]}" -gt 0 ]]; then