From 4c1e4fef7a2848cea9818b7d5af456198d115066 Mon Sep 17 00:00:00 2001 From: veeso Date: Mon, 30 Aug 2021 15:03:53 +0200 Subject: [PATCH] Removed BSD packages --- install.sh | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/install.sh b/install.sh index 15e5c51e..f53aafc4 100755 --- a/install.sh +++ b/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() {