Skip to content

Commit

Permalink
Removed BSD packages
Browse files Browse the repository at this point in the history
  • Loading branch information
veeso committed Aug 30, 2021
1 parent ddd4824 commit 4c1e4fe
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 4c1e4fe

Please sign in to comment.