summarylogtreecommitdiffstats
path: root/teleport.install
diff options
context:
space:
mode:
authorDan Fuhry2023-02-15 10:24:29 -0500
committerDan Fuhry2023-02-15 10:24:29 -0500
commitb82b37c7d5d04f71e148d4838a8135a2a919e93d (patch)
tree2404a89cb922ca4ad9bcd9e656f34e3540c888ec /teleport.install
parent0d1f437c827b6a5539e7b567893d0df354129b10 (diff)
downloadaur-b82b37c7d5d04f71e148d4838a8135a2a919e93d.tar.gz
postinstall: notify about tsh and tctl moved
also added vim modelines
Diffstat (limited to 'teleport.install')
-rw-r--r--teleport.install19
1 files changed, 18 insertions, 1 deletions
diff --git a/teleport.install b/teleport.install
index b8c0e55ad620..a14af856c2b6 100644
--- a/teleport.install
+++ b/teleport.install
@@ -1,3 +1,20 @@
+#!/bin/false
+# vim: set ft=sh ts=4 sw=4 et:
+
+. /usr/share/makepkg/util/message.sh
+
+_notify_tsh_and_tctl_moved() {
+ msg 'NOTE: The "tsh" and "tctl" commands have been moved to the "teleport-client"'
+ msg 'package. This package now contains only the server components.'
+}
+
post_install() {
- echo 'Please follow the instructions on https://gravitational.com/teleport/docs/quickstart/ to set things up.'
+ msg 'Please follow the instructions at the following page to set things up:'
+ msg ' https://gravitational.com/teleport/docs/quickstart/ to set things up.'
+
+ _notify_tsh_and_tctl_moved
+}
+
+post_upgrade() {
+ _notify_tsh_and_tctl_moved
}