This is a deliberate check, to ensure that UBUNTU_MENUPROXY isn't set when appmenu-gtk is removed but not purged (since /etc/X11/Xsession.d/80appmenu will then exist on the system, but libappmenu.so will not). Is this a safe change to make? UBUNTU_MENUPROXY is read by gtk, and I'm not sure what gtk does if the variable is set but pointing at a non-existent .so.
--- appmenu- gtk-0.3. 92.orig/ 80appmenu. in gtk-0.3. 92/80appmenu. in /libappmenu. so ] MENUPROXY= "libappmenu. so" MENUPROXY= "libappmenu. so"
+++ appmenu-
@@ -1,4 +1 @@
-if [ -f @moduledir@
-then
- export UBUNTU_
-fi
+export UBUNTU_
This is a deliberate check, to ensure that UBUNTU_MENUPROXY isn't set when appmenu-gtk is removed but not purged (since /etc/X11/ Xsession. d/80appmenu will then exist on the system, but libappmenu.so will not). Is this a safe change to make? UBUNTU_MENUPROXY is read by gtk, and I'm not sure what gtk does if the variable is set but pointing at a non-existent .so.