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 "boinc.sh" or must i fix the present sh.utf8 file?
Create a new file named boinc.sh.
If i know it right, i must create an new file. But what should i wrtie into it?
Something like ---------------------------->8 cut 8<----------------------------------- #!/bin/sh if ! test -f ~/gui_rpc_auth.cfg then ln -s /var/lib/boinc/gui_rpc_auth.cfg . fi ---------------------------->8 cut 8<----------------------------------- In your %install section something like: install -m755 %{S:1} %{buildroot}/etc/profile.d And in your %files section: /etc/profile.d/%{name}.sh Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org