<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Hi Giancarlo,</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Yes, the one I use redirects both stdout and stderr rather than just stderr. Since we are not really interested in any output from it, we can redirect both but it doesn't really matter.</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Cheers</div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small">Greg<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 7 Apr 2024 at 21:11, Giancarlo Dessì <<a href="mailto:slack@giand.it">slack@giand.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Il 07/04/24 21:48, Greg Tourte ha scritto:<br>
> if [ -x /usr/bin/install-info -a -d usr/info ]; then<br>
> (<br>
> cd usr/info<br>
> rm -f dir<br>
> for i in *.info*; do<br>
> /usr/bin/install-info $i dir &>/dev/null<br>
> done<br>
> )<br>
> fi<br>
<br>
Thanks Greg<br>
<br>
sbopkglint reported me that douninst.sh is needed, so I did search other <br>
samples and added this file as following:<br>
<br>
if [ -x /usr/bin/install-info -a -d usr/info ]; then<br>
( cd usr/info<br>
rm -f dir<br>
for i in *.info*; do /usr/bin/install-info $i dir 2>/dev/null; done<br>
)<br>
fi<br>
<br>
It appears similar, except 2>/dev/null instead of &>/dev/null<br>
<br>
Is it correct?<br>
<br>
-- <br>
*********************************************************<br>
Giancarlo Dessì<br>
<a href="https://www.giand.it" rel="noreferrer" target="_blank">https://www.giand.it</a><br>
<a href="https://github.com/giandex" rel="noreferrer" target="_blank">https://github.com/giandex</a><br>
<br>
Slackware Linux... because it works!<br>
*********************************************************<br>
<br>
_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org" target="_blank">SlackBuilds-users@slackbuilds.org</a><br>
<a href="https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="https://lists.slackbuilds.org/pipermail/slackbuilds-users/" rel="noreferrer" target="_blank">https://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="https://slackbuilds.org/faq/" rel="noreferrer" target="_blank">https://slackbuilds.org/faq/</a><br>
<br>
</blockquote></div>