diff --git a/CHANGELOG.md b/CHANGELOG.md index 86ea005..a80f0fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ ## 0.5.0 -Released on FIXME: ?? +Released on 23/05/2021 > 🌸 Spring Update 2021 🌷 diff --git a/README.md b/README.md index 6485213..bb4e529 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@
Developed by Christian Visintin
-Current version: 0.5.0 FIXME: (13/04/2021)
+Current version: 0.5.0 (23/05/2021)
--- @@ -62,7 +62,7 @@ If you want to contribute to this project, don't forget to check out our contrib If you are a Linux or a MacOS user this simple shell script will install termscp on your system with a single command: ```sh -sh -c "$(curl -fsSL https://raw.githubusercontent.com/veeso/termscp/main/install.sh)" +curl --proto '=https' --tlsv1.2 -sSf "https://raw.githubusercontent.com/veeso/termscp/main/install.sh" | sh ``` while if you're a Windows user, you can install termscp with [Chocolatey](https://chocolatey.org/). diff --git a/install.sh b/install.sh index 3dd8cd9..62e434a 100755 --- a/install.sh +++ b/install.sh @@ -8,7 +8,7 @@ # -f, -y, --force, --yes # Skip the confirmation prompt during installation -TERMSCP_VERSION="0.4.2" +TERMSCP_VERSION="0.5.0" GITHUB_URL="https://github.com/veeso/termscp/releases/download/v${TERMSCP_VERSION}" DEB_URL="${GITHUB_URL}/termscp_${TERMSCP_VERSION}_amd64.deb" RPM_URL="${GITHUB_URL}/termscp-${TERMSCP_VERSION}-1.x86_64.rpm" @@ -177,7 +177,7 @@ install_on_linux() { local msg local sudo local archive - if "${ARCH}" != "x86_64"; then + if [ "${ARCH}" != "x86_64" ]; then try_with_cargo "we don't distribute packages for ${ARCH} at the moment" elif has yay; then info "Detected yay on your system" @@ -246,7 +246,8 @@ install_on_macos() { if has brew; then if has termscp; then info "Upgrading termscp..." - brew update && brew upgrade termscp + # The OR is used since someone could have installed via cargo previously + brew update && brew upgrade termscp || brew install veeso/termscp/termscp else info "Installing termscp..." brew install veeso/termscp/termscp