mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 01:26:04 -08:00
Removed BSD packages
This commit is contained in:
17
install.sh
17
install.sh
@@ -11,7 +11,6 @@
|
||||
TERMSCP_VERSION="0.6.1"
|
||||
GITHUB_URL="https://github.com/veeso/termscp/releases/download/v${TERMSCP_VERSION}"
|
||||
DEB_URL="${GITHUB_URL}/termscp_${TERMSCP_VERSION}_amd64.deb"
|
||||
FREEBSD_URL="${GITHUB_URL}/termscp-${TERMSCP_VERSION}.txz"
|
||||
RPM_URL="${GITHUB_URL}/termscp-${TERMSCP_VERSION}-1.x86_64.rpm"
|
||||
|
||||
set -eu
|
||||
@@ -183,21 +182,7 @@ confirm() {
|
||||
# Installers
|
||||
|
||||
install_on_bsd() {
|
||||
info "Installing termscp via FreeBSD pkg"
|
||||
archive=$(get_tmpfile "txz")
|
||||
download "${archive}" "${FREEBSD_URL}"
|
||||
info "Downloaded FreeBSD package to ${archive}"
|
||||
if test_writeable "/usr/local/bin"; then
|
||||
sudo=""
|
||||
msg="Installing termscp, please wait…"
|
||||
else
|
||||
warn "Root permissions are required to install termscp…"
|
||||
elevate_priv
|
||||
sudo="sudo"
|
||||
msg="Installing termscp as root, please wait…"
|
||||
fi
|
||||
info "$msg"
|
||||
$sudo pkg install -y "${archive}"
|
||||
try_with_cargo "packages for freeBSD are distribuited no more. Only cargo installations are supported."
|
||||
}
|
||||
|
||||
install_on_arch_linux() {
|
||||
|
||||
Reference in New Issue
Block a user