IDEA-141725 Main menus only work one time, then it just stops working (The jayatana agent exclusion is enabled)

This commit is contained in:
Denis Fokin
2015-10-02 13:24:48 +04:00
parent 81da8e42e3
commit 05f845eb38
+4 -4
View File
@@ -37,10 +37,10 @@ TR=`which tr`
#Disbale Jayatana on linux
#if [ -n "$JAVA_TOOL_OPTIONS" ]; then
# JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS%-javaagent*jayatanaag.jar*}${JAVA_TOOL_OPTIONS#*jayatanaag.jar}
# message "Jayatana global menu integration is disabled."
#fi
if [ -n "$JAVA_TOOL_OPTIONS" ]; then
JAVA_TOOL_OPTIONS=${JAVA_TOOL_OPTIONS%-javaagent*jayatanaag.jar*}${JAVA_TOOL_OPTIONS#*jayatanaag.jar}
message "Jayatana global menu integration is disabled."
fi
if [ -z "$UNAME" -o -z "$GREP" -o -z "$CUT" -o -z "$MKTEMP" -o -z "$RM" -o -z "$CAT" -o -z "$TR" ]; then
message "Required tools are missing - check beginning of \"$0\" file for details."