summarylogtreecommitdiffstats
path: root/teleport.install
blob: d73a4bac24900cf056fe47db5aa8701e0e677522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/false
# vim: set ft=sh ts=4 sw=4 et:

. /usr/share/makepkg/util/message.sh

_notify_clients_pkg() {
    msg 'NOTE: The "tsh", "tctl" and "tbot" commands which were previously packaged'
    msg 'separately in "teleport-client" are now merged back into this package.'
}

post_install() {
    msg 'Please follow the instructions at the following page to set things up:'
    msg '  https://gravitational.com/teleport/docs/quickstart/ to set things up.'

    echo ''
    _notify_clients_pkg
    /opt/teleport/system/bin/teleport-update link-package
}

post_upgrade() {
    _notify_clients_pkg
    /opt/teleport/system/bin/teleport-update link-package
}

pre_remove() {
    /opt/teleport/system/bin/teleport-update unlink-package
}