[Git][java-team/bouncycastle][master] Replace which by command -v
Jochen Sprickerhof (@jspricke)
gitlab at salsa.debian.org
Mon Oct 11 08:05:30 BST 2021
Jochen Sprickerhof pushed to branch master at Debian Java Maintainers / bouncycastle
Commits:
ee270dd6 by Jochen Sprickerhof at 2021-10-11T09:05:09+02:00
Replace which by command -v
- - - - -
2 changed files:
- debian/libbcprov-java.postinst
- debian/libbcprov-java.postrm
Changes:
=====================================
debian/libbcprov-java.postinst
=====================================
@@ -3,7 +3,7 @@
set -e
case "$1" in configure)
- if which rebuild-security-providers >/dev/null; then
+ if command -v rebuild-security-providers >/dev/null; then
rebuild-security-providers
fi
esac
=====================================
debian/libbcprov-java.postrm
=====================================
@@ -3,7 +3,7 @@
set -e
case "$1" in remove|purge)
- if which rebuild-security-providers >/dev/null; then
+ if command -v rebuild-security-providers >/dev/null; then
rebuild-security-providers
fi
esac
View it on GitLab: https://salsa.debian.org/java-team/bouncycastle/-/commit/ee270dd643abfe8237b132ff29a20f6d4874f1c2
--
View it on GitLab: https://salsa.debian.org/java-team/bouncycastle/-/commit/ee270dd643abfe8237b132ff29a20f6d4874f1c2
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20211011/3755c0aa/attachment.htm>
More information about the pkg-java-commits
mailing list