summarylogtreecommitdiffstats
path: root/weechat-matrix-git.install
blob: 40d06439a267562a575e73061fbf3f8e4e8a9690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
    echo "To load this script, execute the following command in WeeChat:"
    echo "/script load weechat-matrix.py"
    echo "To load it automatically during WeeChat startup, use:"
    echo "mkdir -p ~/.weechat/python/autoload"
    echo "ln -s /usr/share/weechat/python/weechat-matrix.py -t ~/.weechat/python/autoload"
}

post_upgrade() {
    if [ "$(vercmp "$2" 0.2.0-2)" -lt 0 ]
    then
        post_install
    fi
}