On 10/30/2013 04:18 PM, Tomas Babej wrote:
> Hi,
>
> Adds which package to the requirements, since older distros do not have it by
> default.
>
> Part of: https://fedorahosted.org/freeipa/ticket/3833
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

You can use the bash built-in command `command`, instead of `which`, to find out
if a program exists:

command -v cacertdir_rehash

In other words, just replace `which` with `command -v`; there's no need to
install any additional packages.

-- 
Regards,

Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to