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

Re: Checkinstall script



On Thursday 12 August 2004 12:46 pm, Kamal Hussain wrote:
> Hi,
> Does RPM support some kind of "checkinstall" script?  Basically, the
> package should be able to dynamically determine if it is applicable for
> a system. If the package is not applicable, can RPM return appropriate
> exit code or message without giving a failure message?
>  (BTW, "man rpm" doesn't give any information on different exit codes.
> So far, I've seen two return codes - 0 and 1)
>
> Thanks
> Kamal
>
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list@redhat.com
> https://www.redhat.com/mailman/listinfo/rpm-list

The only way to do this is to support something like a universal 
/etc/distro/distroname or through a complicated set of Requires:  which would 
really defeat the purpose of using RPM to begin with. At this level of 
complication one might as well compile from tar.gz sources.

-- 
Scot Mc Pherson
scot@linuxfromscratch.org
Sarasota, Florida, USA
MSN: behomet@earthlink.net AIM: scotlfs ICQ: 342349



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