mirror_lxc/hooks
Diederik de Haas 7a7671655a
Replace 'which' with 'command -v'
The 'which' command is deprecated on Debian Sid as it is not POSIX
compliant and it's behavior is therefor not consistent, so replace it
with 'command -v' which is POSIX compliant.
See https://stackoverflow.com/a/677212 for details.

Also replaced a use of backticks (`) as that is deprecated as well.
See https://github.com/koalaman/shellcheck/wiki/SC2006 for details.

Signed-off-by: Diederik de Haas <didi.debian@cknow.org>
2021-10-28 17:27:08 +02:00
..
clonehostname Use LXC_ROOTFS_MOUNT in clonehostname hook 2017-02-23 10:13:16 -05:00
dhclient-script build: add hooks 2021-09-27 11:39:52 +02:00
dhclient.in Replace 'which' with 'command -v' 2021-10-28 17:27:08 +02:00
Makefile.am build: fix hook program build 2021-09-16 14:45:36 +02:00
meson.build hooks: fix quoting 2021-09-27 12:51:18 +02:00
mountecryptfsroot spelling: passphrase 2018-10-30 07:45:15 +00:00
nvidia Replace 'which' with 'command -v' 2021-10-28 17:27:08 +02:00
squid-deb-proxy-client Fix small mistake with squid-deb-proxy hook 2014-01-15 10:41:16 -05:00
ubuntu-cloud-prep lxc-ubuntu-cloud: support passing vendor-data 2015-07-21 10:30:19 -04:00
unmount-namespace.c build: improve meson build 2021-09-23 14:05:24 +02:00