diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-10-31 06:48:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-11-02 17:11:53 +0000 |
commit | 3967098d1f1ce7dc44ae25596ff036b1aada5323 (patch) | |
tree | e7c7820e1fc7dd5abe3e2960328334c59044d667 | |
parent | Merging upstream version 20211102. (diff) | |
download | open-infrastructure-compute-tools-3967098d1f1ce7dc44ae25596ff036b1aada5323.tar.xz open-infrastructure-compute-tools-3967098d1f1ce7dc44ae25596ff036b1aada5323.zip |
Replacing which with command in maintainer scripts.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/open-infrastructure-container-tools.postinst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/open-infrastructure-container-tools.postinst b/debian/open-infrastructure-container-tools.postinst index 62461bf..9f0b42e 100755 --- a/debian/open-infrastructure-container-tools.postinst +++ b/debian/open-infrastructure-container-tools.postinst @@ -111,7 +111,7 @@ EOF mv -f "${CONFFILE}.tmp" "${CONFFILE}" - if [ -x "$(which sysctl)" ] + if command -v sysctl > /dev/null 2>&1 then sysctl -q -p /etc/sysctl.d/zz-container.conf fi |