Author: mvidner Date: Mon Sep 3 08:52:24 2007 New Revision: 40674 URL: http://svn.opensuse.org/viewcvs/yast?rev=40674&view=rev Log: Better diagnostics when the libraries are broken (#211392). Modified: trunk/yast2/scripts/yast2 Modified: trunk/yast2/scripts/yast2 URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/scripts/yast2?rev=40674&r1=40673&r2=40674&view=diff ============================================================================== --- trunk/yast2/scripts/yast2 (original) +++ trunk/yast2/scripts/yast2 Mon Sep 3 08:52:24 2007 @@ -325,8 +325,9 @@ /usr/bin/test -x /bin/unicode_stop && /bin/unicode_stop fi else - echo "You need to install yast2-ncurses to use the YaST2 text mode interface" >&2 - exit 1 + rpm -V yast2-core yast2-ncurses yast2-qt yast2-gtk >&2 + echo "Something is wrong with the YaST user interface." >&2 + exit_code=1 fi # quick hack: treat gtk like qt elif [ "$SELECTED_GUI" = "qt" -o "$SELECTED_GUI" = "gtk" ]; then -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org