Skip to content

Commit

Permalink
Fixed bug in error message; bumped up version number.
Browse files Browse the repository at this point in the history
  • Loading branch information
odkr committed Sep 4, 2020
1 parent 6e94390 commit c83b878
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -116,7 +116,7 @@ It may pass under Debian GNU/Linux.
### Set-up

1. Download the repository from:
<https://github.com/odkr/lpassh-add/archive/v1.1.4.tar.gz>
<https://github.com/odkr/lpassh-add/archive/v1.1.5.tar.gz>
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`.
Expand All @@ -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
Expand All @@ -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
```

Expand Down
8 changes: 4 additions & 4 deletions lpassh-add
Original file line number Diff line number Diff line change
@@ -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
#
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -300,7 +300,7 @@ do
;;
-h)
exec cat <<EOF
lpassh-add v1.1.4 - Unlocks SSH keys using LastPass.
lpassh-add v1.1.5 - Unlocks SSH keys using LastPass.
Synopsis:
lpassh-add [-cq] [-t LIFETIME] [*KEY* [*KEY* [...]]]
Expand All @@ -322,7 +322,7 @@ EOF
;;
-V)
exec cat <<EOF
lpassh-add v1.1.4
lpassh-add v1.1.5
(c) 2018, 2019, 2020 Odin Kroeger
Released under the MIT license.
EOF
Expand Down

0 comments on commit c83b878

Please sign in to comment.