[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: changing profile



On 11/7/05, Radu Spineanu <radus@smartpost.ro> wrote:
> Hello
>
> Let's say i would like a package to add some system-wide path to
> /etc/profile.
>
> Is it possible to do this without writing postinst/postrm scripts that
> actually write in that file ?

Writting to that file will bring curses on your head as it does not
belong to your package, so you are not allowed to touch it with your
installation; however you are allowed, iirc, to provide a
update-etc-profile script, or somethign alike to do that and some
explanation in /usr/share/doc/yourpack

--
Regards,
EddyP
=============================================
"Imagination is more important than knowledge" A.Einstein



Reply to: