Commit af20f893 authored by Michael Shigorin's avatar Michael Shigorin

rescue: make libX11 test a bit more helpful

It should be more clear what gets libX11 test triggered.
parent 3afb96a8
...@@ -2,9 +2,10 @@ ...@@ -2,9 +2,10 @@
no_x11() { no_x11() {
if rpmquery libX11 >&/dev/null; then if rpmquery libX11 >&/dev/null; then
echo "** rescue image contains libX11 which is prohibited" >&2 echo "** rescue image contains libX11 which is prohibited"
rpm -e --test libX11
exit 1 exit 1
fi fi >&2
} }
case "${GLOBAL_TEST_RESCUE:-}" in case "${GLOBAL_TEST_RESCUE:-}" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment