adding environment vars?

From: Holger Schurig <h.schurig_at_mn-logistik.de>
Date: Fri, 20 Jul 2001 12:58:15 +0200

I've made my first kaffe-ipkg and got it installed. It's actually
working, at least with the obligatory HelloWorld.

To set the CLASSPATH I am currently doing something that I consider
ugly, a file /etc/init.d/kaffe.sh, linkes to /etc/rcS.d/S77kaffe.sh
which contains:

#!/bin/sh # kaffe.sh Sets initial classpath #
 
case "$1" in
    start)
        CLASSPATH=/usr/share/kaffe/Klasses.jar
        export CLASSPATH
        ;;
    *)
        echo "Usage: $0 {start}" >&2
        exit 1
        ;;
esac

Is there a more debian-like way for setting per-package profile
strings? In RedHat I could simple drop something in /etc/profile.d?
Received on Fri Jul 20 2001 - 04:14:37 EDT

This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:12:31 EDT