archrelease: copy trunk to community-any
[ArchLinux/community.git] / weechat-matrix / trunk / weechat-matrix.install
blob851b1a5db24ef1fbc6d6a2f2f115ef36ba7e021d
1 post_install() {
2         echo "To load this script, execute the following command in WeeChat:"
3         echo "/script load weechat-matrix.py"
4         echo "To load it automatically during WeeChat startup, use:"
5         echo "mkdir -p ~/.local/share/weechat/python/autoload"
6         echo "ln -s /usr/share/weechat/python/weechat-matrix.py -t ~/.local/share/weechat/python/autoload"
9 post_upgrade() {
10         if [ "$(vercmp "$2" 0.2.0-2)" -lt 0 ]
11         then
12                 post_install
13         fi