summarylogtreecommitdiffstats
path: root/teamtalk-client-source.install
blob: 13bd1bc00b9536ac349375fc4ae88000d36b79bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
    # The SDK tarball ships a writable TeamTalk5.ini next to the binary;
    # we install only TeamTalk5.ini.default and let the app create the
    # writable copy on first launch. Nothing to do here today, but the
    # hook is kept for future migrations.
    :
}

post_upgrade() {
    post_install
}

post_remove() {
    # Clean up the install dir if anything (e.g. the writable TeamTalk5.ini
    # created at first launch, or a backup from an earlier manual install)
    # remains after pacman removes the tracked files. Per-user settings
    # under ~/.config/BearWare.dk/ are intentionally left alone.
    rm -rf /opt/teamtalk-client 2>/dev/null || true
}