summarylogtreecommitdiffstats
path: root/weechat-notify-send.install
blob: 85ade7874d706b2aa08aa6a6e1ce6a4356c45b6b (plain)
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
_install_update_msg() {
cat <<EOF


WeeChat is unable to source plugin scripts from outside of the process
owner's configuration directory. Because of this limitation, this package
**DOES NOT** make the plugin available to WeeChat without additional end
user interaction.

Each user who wants to enable this plugin should create a symlink in the in
the configuration directory for their user (by default, ~/.weechat):

    \$ ln -s /usr/lib/weechat/python/notify_send.py ~/.weechat/python/

To load the script on start up, you'll also need to symlink it into the autoload folder: 

    \$ ln -s /usr/lib/weechat/python/notify_send.py ~/.weechat/python/autoload/


EOF
}

post_install() {
  _install_update_msg
}

post_upgrade() {
  _install_update_msg
}