Author: mvidner Date: Tue Aug 12 13:41:13 2008 New Revision: 49982 URL: http://svn.opensuse.org/viewcvs/yast?rev=49982&view=rev Log: Call basename without absolute path, as Fedora has it in /bin instead of /usr/bin. Merging a part of a patch from Oracle: http://lists.opensuse.org/yast-devel/2008-07/msg00016.html Modified: trunk/yast2/scripts/yast2 Modified: trunk/yast2/scripts/yast2 URL: http://svn.opensuse.org/viewcvs/yast/trunk/yast2/scripts/yast2?rev=49982&r1=49981&r2=49982&view=diff ============================================================================== --- trunk/yast2/scripts/yast2 (original) +++ trunk/yast2/scripts/yast2 Tue Aug 12 13:41:13 2008 @@ -222,7 +222,7 @@ c=("${b[@]/%/)}") set -- -S "${c[@]}" -case "`/usr/bin/basename $0`" in +case "`basename $0`" in YaST|yast|yast1|zast) if [ -z "$CMDLINE_UI" ]; then unset DISPLAY; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org