summarylogtreecommitdiffstats
path: root/session-desktop.install
blob: 080ddd42bc2434a7cef1c0685e3b380989b846b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
    ln -sf /opt/Session/session-messenger-desktop /usr/bin/session-messenger-desktop
    update-desktop-database /usr/share/applications
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}

post_upgrade() {
    post_install
}

post_remove() {
    rm -f '/usr/bin/session-messenger-desktop'
    update-desktop-database /usr/share/applications
    gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
}