Files
termux-packages/packages/pass-otp/otp.bash.patch
termux-pacman-bot 8f7340eb86 bump(main/pass-otp): 1.2.0-p20221228
Add patch with passage support.
This also removes pass from dependencies.
2025-05-31 11:06:14 +00:00

16 lines
314 B
Diff

diff --git a/otp.bash b/otp.bash
index a0688d2..c859404 100755
--- a/otp.bash
+++ b/otp.bash
@@ -17,8 +17,8 @@
# []
VERSION="1.1.2"
-OATH=$(which oathtool)
-OTPTOOL=$(which otptool)
+OATH=$(command -v oathtool)
+OTPTOOL=$(command -v otptool)
## source: https://gist.github.com/cdown/1163649
urlencode() {