install own .deb

Michael Chanudet michael.chanudet at eolas.fr
Wed Aug 11 17:45:50 CEST 2004


Hi!

I was very happy to see the posts dealing with Java because I have to
implement it on my fai clients.
I have a class JAVA
I have put my sun-j2sdk1.4_1.4.2+05_i386.deb in /files/packages

How do I say (in /script/DEFAULT/S01 ?) to install the package if the JAVA
class is defined?
I've tried this =>
In /class/DEFAULT.var :
installjava="sun-j2sdk1.4"

In /script/DEFAULT/S01 :
ifclass JAVA && {
    [ "$installjava" ] && yes '' | $ROOTCMD apt-get install $installjava
}

But it doesn't work.
Maybe it's not the good way to install a home-made debian package...
How should I do?

Thanks,

Michaël C.

--
Michaël CHANUDET
Eolas, Business & Decision à Grenoble - 4 76 44 50 50 - fax. 4 76 44 00 41
Portails Ebiz, Public, BI -  Internet en continu (Hébergement, Création de
trafic web)
+Universel d'Eolas : le + d'Eolas pour + d'accessibilité et + de mobilité ! 





More information about the linux-fai mailing list