1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh if [ "$2" != "POST-INSTALL" ]; then exit 0 fi if ! which mktexlsr >/dev/null; then echo "I can't find mktexlsr in your search path." echo "If you want to use noweb's (La)TeX output" echo "you should also install the teTeX package." else mktexlsr fi