This file is indexed.

/usr/share/pyshared/LSC/notify.py is in lubuntu-software-center 0.0.8-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/python
#       Copyright (c) Stephen Smally <stephen.smally@gmail.com>
#
#       This program is free software; you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation; either version 2 of the License, or
#       (at your option) any later version.
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#       GNU General Public License for more details.
#       You should have received a copy of the GNU General Public License
#       along with this program; if not, write to the Free Software
#       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
#       MA 02110-1301, USA.
#

from gi.repository import Notify
import gettext

from . import LOG

_ = gettext.gettext
Notify.init("Lubuntu Software Center")


def notify(message):
    show_notif = True

    if(message == "installed"):
        notify_message = "Apps installed successfully"
    elif(message == "removed"):
        notify_message = "Apps removed successfully"
    elif (message == "no-connection"):
        notify_message = "No connection found, you can't install \n\
                         applications, however you can browse for them"
    else:
        show_notif = False
        LOG.error("ERROR: No rule for command:", message)

    if show_notif:
        lubuntu_notify = Notify.Notification.new(
            "Lubuntu Software Center", _(notify_message),
            "lubuntu-software-center")
        lubuntu_notify.show()