<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/30/2013 04:18 PM, Tomas Babej
wrote:<br>
</div>
<blockquote cite="mid:52712338.2030509@redhat.com" type="cite">Hi,
<br>
<br>
Adds which package to the requirements, since older distros do not
have it by default.
<br>
<br>
Part of: <a class="moz-txt-link-freetext" href="https://fedorahosted.org/freeipa/ticket/3833">https://fedorahosted.org/freeipa/ticket/3833</a>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
<br>
You can use the bash built-in command `command`, instead of `which`,
to find out if a program exists:<br>
<br>
command -v cacertdir_rehash<br>
<br>
In other words, just replace `which` with `command -v`; there's no
need to install any additional packages.<br>
<pre class="moz-signature" cols="80">--
Regards,
Ana Krivokapic
Associate Software Engineer
FreeIPA team
Red Hat Inc.</pre>
</body>
</html>