From 32a5b3cfbcf6042e8955a19263fc81623570ad25 Mon Sep 17 00:00:00 2001 From: Philippe Baret Date: Wed, 16 Dec 2015 18:07:31 +0100 Subject: [PATCH] shaarli: on_install function please read https://github.com/freedombox/Plinth/issues/344 --- plinth/modules/shaarli/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plinth/modules/shaarli/views.py b/plinth/modules/shaarli/views.py index ccc96ccce..1965d5a44 100644 --- a/plinth/modules/shaarli/views.py +++ b/plinth/modules/shaarli/views.py @@ -28,6 +28,9 @@ from plinth import actions from plinth import package from plinth.modules import shaarli +def on_install(): +"""Notify that the service is now enabled.""" +shaarli.service.notify_enabled(None, True) @package.required(['shaarli']) def index(request):