[Users] vz-guest-tools-lin installer doesn't have to install gdebi for debian & ubuntu, but instead install gdebi-core
Denis Silakov
dsilakov at virtuozzo.com
Mon Dec 5 01:57:38 PST 2016
On 12/05/2016 12:49 PM, Denis Silakov wrote:
> "gdebi: command not found" comes from the following call in the
> install script:
>
> $PKGMNGR $pkgs || $FALLBACK_PKGMNGR $pkgs
>
> 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.
>
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)".
--
Regards,
Denis Silakov | Sr. Software Architect, Virtuozzo Linux Team Lid
Altufevskoe shosse, 44 | Moscow, Russia
Phone: +7 916-222-9437 | dsilakov at virtuozzo.com
Skype: denis.silakov
Virtuozzo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/users/attachments/20161205/9816ffaa/attachment.html>
More information about the Users
mailing list