summarylogtreecommitdiffstats
path: root/session-desktop-git.install
blob: 119e061e79bf81a1b904469ff4ab8c6a2f7b2133 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
    sudo ln -sf /opt/Session/session-messenger-desktop /usr/bin/session-messenger-desktop
    sudo update-mime-database /usr/share/mime
    sudo update-desktop-database /usr/share/applications
}

post_upgrade() {
    post_install
}

post_remove() {
    sudo rm -f '/usr/bin/session-messenger-desktop'
    sudo update-mime-database /usr/share/mime
    sudo update-desktop-database /usr/share/applications
}