pass-otp: use command -v instead of which
Fixes https://github.com/termux/termux-packages/issues/8057.
This commit is contained in:
parent
e5428dd6b9
commit
cc4b45dc54
|
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="A pass extension for managing one-time-password (OTP) to
|
|||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
|
||||
TERMUX_PKG_VERSION=1.2.0
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_SRCURL=https://github.com/tadfisher/pass-otp/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=5720a649267a240a4f7ba5a6445193481070049c1d08ba38b00d20fc551c3a67
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
--- ./otp.bash~ 2018-11-15 21:17:12.000000000 +0100
|
||||
+++ ./otp.bash 2021-11-25 13:13:08.973741663 +0100
|
||||
@@ -17,7 +17,7 @@
|
||||
# []
|
||||
|
||||
VERSION="1.1.1"
|
||||
-OATH=$(which oathtool)
|
||||
+OATH=$(command -v oathtool)
|
||||
|
||||
## source: https://gist.github.com/cdown/1163649
|
||||
urlencode() {
|
Loading…
Reference in New Issue