control: tags -1 - patch thanks On Thu, Jun 02, 2016 at 11:02:59AM +0200, Andreas Beckmann wrote: > (or better better a test whether we have apt >= 1.2 (is that the correct > version?))
that seems sensible indeed…
> disregarding the list_installed_files bits (or maybe continue using dpkg
> for them in any case) it should roughly look like this:
>
> if (apt_get_can_install_debs) {
> apt-get -y install the.deb
> } else {
> dpkg -i the.deb
> apt-get -y install
> }
that too.
and then I wonder, shouldn't this use "apt" instead of "apt-get"? (or
maybe better: use apt or apt-get or aptitude, depending on user choice,
defaulting to apt?)
--
cheers,
Holger
signature.asc
Description: Digital signature

