if mode == GUI_MODE:
return os.system("sh %s --nox11 -- -u" % plugin_file) == 0
else:
return os.system("sh %s --nox11 -- -i" % plugin_file) == 0
if os.system("sh %s --nox11 -- -i" % plugin_file) == 0:
return True
log.error("Python gobject/dbus may be not installed")
return False
def delete_plugin(self):