ref https://gitlab.com/redhat/centos-stream/containers/bootc/-/merge_requests/558#note_2492110138 Signed-off-by: Colin Walters <walters@verbum.org>
13 lines
273 B
Bash
Executable file
13 lines
273 B
Bash
Executable file
#!/bin/bash
|
|
set -xeuo pipefail
|
|
. /usr/lib/os-release
|
|
case "${ID}" in
|
|
fedora)
|
|
# https://gitlab.com/fedora/bootc/base-images/-/merge_requests/172
|
|
if rpm -q python3 &>/dev/null; then
|
|
rpm -q python3-libdnf5
|
|
fi
|
|
;;
|
|
*)
|
|
;;
|
|
esac
|