runqemu: fix fedora pkg names when run fails

Submitted by Cristian Ciupitu on June 29, 2012, 1:17 p.m.

Details

Message ID 1340975846-14579-1-git-send-email-cristian.ciupitu@yahoo.com
State Accepted
Commit f2b6f9c3a8b4f87b5570b78766a118e4290d773a
Headers show

Commit Message

Cristian Ciupitu June 29, 2012, 1:17 p.m.
runqemu can fail to with the following message:

    You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.
        Fedora package names are: mesa-libGL mesa-libGLU.

The libGL.so and libGLU.so files are provided by the mesa-libGL-devel
and mesa-libGLU-devel Fedora packages (yum provides '*/libGL*.so').

Signed-off-by: Cristian Ciupitu <cristian.ciupitu@yahoo.com>
---
 scripts/runqemu |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/scripts/runqemu b/scripts/runqemu
index caabf61..776f885 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -408,7 +408,7 @@  test -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so && li
 if [ "$libgl" != 'yes' ]; then
     echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.
     Ubuntu package names are: libgl1-mesa-dev and libglu1-mesa-dev.
-    Fedora package names are: mesa-libGL mesa-libGLU."
+    Fedora package names are: mesa-libGL-devel mesa-libGLU-devel."
     exit 1;
 fi