live-build/share/hooks/normal
johnraff 0e5d0483e5 Replace 'which' with 'command -v' to test for the existance of an executable
This is considered to be more robust.

Two instances remain:

scripts/build/chroot_archives, line 257:
if [ "${LB_APT}" = "aptitude" ] && [ ! $(Chroot chroot "which aptitude") ]
The command is run inside a chroot where the environment might be special,
and would need further testing.

manpages/Makefile, line 42:
@if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
I am insufficiently familiar with makefile syntax to edit this.
2020-05-01 09:59:11 +00:00
..
0020-create-mtab-symlink.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0030-enable-cryptsetup.hook.chroot Add updated directives to enable cryptsetup support in initrd 2020-04-23 17:47:12 +02:00
0040-create-locales-files.hook.chroot Initialize /etc/default/locale with LANG=C.UTF-8 2017-08-29 12:26:33 +02:00
0100-remove-adjtime-configuration.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0110-remove-backup-files.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0120-remove-dbus-machine-id.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0130-remove-gnome-icon-cache.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0140-remove-log-files.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0150-remove-mdadm-configuration.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0160-remove-openssh-server-host-keys.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0170-remove-python-py.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0180-remove-systemd-machine-id.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0190-remove-temporary-files.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0195-remove-ssl-cert-snakeoil.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0200-remove-udev-persistent-cd-rules.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0300-remove-udev-persistent-net-rules.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0400-update-apt-file-cache.hook.chroot Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
0410-update-apt-xapian-index.hook.chroot Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
0420-update-glx-alternative.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0430-update-mlocate-database.hook.chroot Replace 'which' with 'command -v' to test for the existance of an executable 2020-05-01 09:59:11 +00:00
0440-update-nvidia-alternative.hook.chroot Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00
0910-remove-apt-sources-lists Splitting non-live specific hooks into their own subdirectory within hooks. 2015-05-20 08:19:56 +02:00