Re: RPM Variable setzen

Stefan Hundhammer <[email protected]>
Newsgroups gmane.linux.suse.programming
Organization SuSE Linux AG
Message-ID <[email protected]>
On Tuesday 15 February 2005 14:06, Bernhard Walle wrote:
> Das geht, indem man eine (bzw. zwei) Dateien mit ins RPM packt, die nach
> /etc/profile.d installiert werden. Schau dir mal das mc-Paket an:
>
>  $ rpm -ql mc | grep profile.d
>  $ cat mc.sh
>  alias mc='. /usr/share/mc/bin/mc-wrapper.sh'

Man muß dann allerdings auch aufpassen, unter genau welchen UmstÀnden diese 
Variablen gesetzt sind - ob sie z.B. auch bei nicht-interaktiven Shells 
gesetzt sind, ob alle zu benutzenden Shells das auch verwenden und so weiter.


CU
-- 
Stefan Hundhammer <[email protected]>                Penguin by conviction.
YaST2 Development
SUSE Linux Products GmbH
Nuernberg, Germany

-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfÃŒgbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.