From c83b878693101491a88b5cb3154796dc178b9b07 Mon Sep 17 00:00:00 2001 From: Odin Kroeger Date: Fri, 4 Sep 2020 09:37:45 +0200 Subject: [PATCH] Fixed bug in error message; bumped up version number. --- README.md | 12 ++++++------ lpassh-add | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 282abf3..805595b 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ If you then you can install **lpassh-add** by: ```sh -( set -Cfu; NAME=lpassh-add VERS=1.1.4 +( set -Cfu; NAME=lpassh-add VERS=1.1.5 for GET in 'curl -LsS' 'wget -qO -'; do $GET "https://github.com/odkr/$NAME/archive/v$VERS.tar.gz" [ $? -eq 127 ] || break @@ -116,7 +116,7 @@ It may pass under Debian GNU/Linux. ### Set-up 1. Download the repository from: - + 2. Unpack the repository. 3. Copy **lpassh-add** to a directory in your `PATH`. 4. Copy its manual page (`lpassh-add.1`) ito a directory in your `MANPATH`. @@ -130,7 +130,7 @@ you probably can download **lpassh-add** by: ```sh ( set -Cfu - NAME=lpassh-add VERS=1.1.4; AR="v$VERS.tar.gz" + NAME=lpassh-add VERS=1.1.5; AR="v$VERS.tar.gz" # Download the archive and the signature. for GET in 'curl -LsSo' 'wget -qO'; do for FILE in "archive/$AR" "releases/download/v$VERS/$AR.asc"; do @@ -150,19 +150,19 @@ the archive that you've just downloaded has been tempered with: ```sh # Download my GnuPG key. gpg --recv-keys 0x6B06A2E03BE31BE9 -gpg --verify v1.1.4.tar.gz.asc v1.1.4.tar.gz +gpg --verify v1.1.5.tar.gz.asc v1.1.5.tar.gz ``` Then unpack the archive: ```sh -tar -xzf v1.1.4.tar.gz +tar -xzf v1.1.5.tar.gz ``` Finally, install **lpassh-add** and its manual: ```sh -cd lpassh-add-1.1.4 +cd lpassh-add-1.1.5 make install ``` diff --git a/lpassh-add b/lpassh-add index a778e5f..b6a012c 100755 --- a/lpassh-add +++ b/lpassh-add @@ -1,5 +1,5 @@ #!/bin/sh -# lpass-ssh-add v1.1.5b - Unlock SSH keys using LastPass. +# lpass-ssh-add v1.1.5 - Unlock SSH keys using LastPass. # # Copyright 2018, 2019, 2020 Odin Kroeger # @@ -249,7 +249,7 @@ if [ "${LPASSH_ADD_AGENT_DISABLE-}" ]; then case "$LPASSH_ADD_AGENT_DISABLE" in 0|1) export LPASS_AGENT_DISABLE="$LPASSH_ADD_AGENT_DISABLE" ;; *) panic 64 'LPASSH_ADD_AGENT_DISABLE: %s: Not a boolean value.' \ - $LPASSH_ADD_AGENT_DISABLE + "$LPASSH_ADD_AGENT_DISABLE" esac fi @@ -300,7 +300,7 @@ do ;; -h) exec cat <