# Free Software Foundation, Inc., 59 Temple Place, Suite 330,
# Boston, MA 02111-1307 USA
+prefix=@prefix@
+exec_prefix=@exec_prefix@
export IBUS_PREFIX=@prefix@
+export IBUS_LIBEXECDIR=@libexecdir@
exec python @prefix@/share/ibus/setup/main.py $@
def __is_auto_start(self):
link_file = path.join(BaseDirectory.xdg_config_home, "autostart/ibus.desktop")
- ibus_desktop = path.join(os.getenv("IBUS_PREFIX"), "share/applications/ibus.desktop")
+ ibus_desktop = path.join(os.getenv("IBUS_LIBEXECDIR"), "share/applications/ibus.desktop")
if not path.exists(link_file):
return False