Warn about missing createrepo on suse
This commit is contained in:
@@ -1558,8 +1558,11 @@ main() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if (( CREATEREPO_SWITCH )); then
|
if (( CREATEREPO_SWITCH )); then
|
||||||
|
if [[ "$ID" == "suse" ]]; then
|
||||||
|
err "createrepo is not available on SUSE"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
runCreaterepo
|
runCreaterepo
|
||||||
exit $?
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${#SERVICES[@]}" -gt 0 ]]; then
|
if [[ "${#SERVICES[@]}" -gt 0 ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user