mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
25 lines
645 B
Ruby
25 lines
645 B
Ruby
cask "tsh" do
|
|
version "14.2.1"
|
|
sha256 "edfe91605a1c00233e8da5338295bc4385fe59cdb355cb8d21b74755e8489c4b"
|
|
|
|
url "https://cdn.teleport.dev/tsh-#{version}.pkg",
|
|
verified: "cdn.teleport.dev/"
|
|
name "Teleport TSH"
|
|
desc "SSH server for teams managing distributed infrastructure"
|
|
homepage "https://goteleport.com/"
|
|
|
|
livecheck do
|
|
url "https://goteleport.com/download/"
|
|
regex(/tsh[._-]v?(\d+(?:\.\d+)+)\.pkg/i)
|
|
end
|
|
|
|
conflicts_with cask: "homebrew/cask-versions/tsh13",
|
|
formula: "teleport"
|
|
|
|
pkg "tsh-#{version}.pkg"
|
|
|
|
uninstall pkgutil: "(.*).com.gravitational.teleport.tsh"
|
|
|
|
zap trash: "~/.tsh"
|
|
end
|