Installation script of "tetex"


#!/bin/bash
mkdir -p var/adm/SuSEconfig ; touch var/adm/SuSEconfig/run-texhash
echo -n "Updating etc/rc.config... "
if test -x bin/fillup ; then
    if test -e etc/rc.config.d/tetex.rc.config ; then
	bin/fillup -q -t       -d "=" etc/rc.config.d/tetex.rc.config var/adm/fillup-templates/rc.config.tetex
    else
	bin/fillup -q -t -r -i -d "=" etc/rc.config var/adm/fillup-templates/rc.config.tetex etc/rc.config.d/tetex.rc.config
	mv etc/rc.config.new etc/rc.config
    fi
    echo "Done."
else
    echo
    echo "ERROR: fillup not found. This should not happen. Please compare"
    echo "/etc/rc.config or /etc/rc.config.d/tetex.rc.config and"
    echo "/var/adm/fillup-templates/rc.config.tetex and update manually."
fi
exit 0


(c) SuSE - Last update: 31.03.2000 12:23;