Reinhard Katzmann <[EMAIL PROTECTED]> writes:

> I've appended my current version of the noteedit spec file. I've

humm :

> %post
> cat >/etc/profile.d/noteedit.sh <<EOF
> export NOTE_EDIT_HOME = %{_datadir}/noteedit/resources
> EOF
> cat >/etc/profile.d/noteedit.csh <<EOF
> setenv NOTE_EDIT_HOME %{_datadir}/noteedit/resources
> EOF
> 
> rm /etc/profile.d/noteedit.*

why not  :

%install
[...]
mkdir -p %buildroot/etc/profile.d/
cat >%buildroot/etc/profile.d/noteedit.sh <<EOF
export NOTE_EDIT_HOME = %{_datadir}/noteedit/resources
EOF
cat >%buildroot/etc/profile.d/noteedit.csh <<EOF
setenv NOTE_EDIT_HOME %{_datadir}/noteedit/resources
EOF

%files
/etc/profile.d/*sh


and BTW your export is broken it should be :

export NOTE_EDIT_HOME=blabalbaa

not with space between = 

-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
San-Francisco, CA USA                             --Chmouel

Reply via email to