Merge pull request #9 from diederikdehaas/patch-1
Replace 'which' with 'command -v'
hpreusse authored 2 years ago
GitHub committed 2 years ago
65 | 65 | # So we have to check for the existence of this file |
66 | 66 | # before we can call update-fmtutil |
67 | 67 | #if [ -r /etc/texmf/fmt.d/00tex.cnf ] ; then |
68 | if which update-fmtutil > /dev/null ; then update-fmtutil --quiet ; fi | |
68 | if command -v update-fmtutil > /dev/null ; then update-fmtutil --quiet ; fi | |
69 | 69 | #fi |
70 | if which mktexlsr >/dev/null; then update_lsr_files; fi | |
70 | if command -v mktexlsr >/dev/null; then update_lsr_files; fi | |
71 | 71 | # tetex might be unpacked but not configured, we have to check |
72 | 72 | # whether /etc/texmf/texmf.cnf already exists. The following check |
73 | 73 | # does two things: 1) check whether libkpathsea is configured, and |