<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<div class="moz-cite-prefix">On 12/05/2016 12:49 PM, Denis Silakov
wrote:<br>
</div>
<blockquote cite="mid:58453812.3060507@virtuozzo.com" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
"gdebi: command not found" comes from the following call in the
install script:<br>
<br>
$PKGMNGR $pkgs || $FALLBACK_PKGMNGR $pkgs<br>
<br>
We can suppress stderr here, but on the other hand we will loose
potentially interesting messages in case when gdebi is present but
fails to install a package.<br>
<br>
</blockquote>
<br>
Answering to myself - surely we can check for the presence of
$PKGMNGR binary before calling it. Just need to think a bit about
the best way to do this. Maybe smth like "(which $PKGMNGR &&
$PKGMNGR $pkgs)".<br>
<br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Denis Silakov | Sr. Software Architect, Virtuozzo Linux Team Lid
Altufevskoe shosse, 44 | Moscow, Russia
Phone: +7 916-222-9437 | <a class="moz-txt-link-abbreviated" href="mailto:dsilakov@virtuozzo.com">dsilakov@virtuozzo.com</a>
Skype: denis.silakov
Virtuozzo.com</pre>
</body>
</html>