Mailinglist Archive: opensuse-packaging (186 mails)

< Previous Next >
Re: [opensuse-packaging] ln -s to every $USER
  • From: Philipp Thomas <Philipp.Thomas2@xxxxxxx>
  • Date: Thu, 12 Feb 2009 00:34:07 +0100
  • Message-id: <knn6p4d9up4c4st8421m1dk2k2t2it3h5b@xxxxxxx>
On Wed, 11 Feb 2009 20:05:14 +0100, you wrote:

I think this idea sounds good. But this is my first time using
profile.d. Should i create an new File called "" or must i fix
the present sh.utf8 file?

Create a new file named

If i know it right, i must create an new file. But what should i wrtie
into it?

Something like
---------------------------->8 cut 8<-----------------------------------

if ! test -f ~/gui_rpc_auth.cfg then
ln -s /var/lib/boinc/gui_rpc_auth.cfg .
---------------------------->8 cut 8<-----------------------------------

In your %install section something like:
install -m755 %{S:1} %{buildroot}/etc/profile.d

And in your %files section:


To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >