__apt_backports: undo __apt_update_index call

Becuase it is already done by __apt_source.
This commit is contained in:
matze 2020-12-12 17:34:51 +01:00
parent fca35fc858
commit 27aca06fb8
2 changed files with 1 additions and 6 deletions

View File

@ -12,8 +12,7 @@ This singleton type installs backports for the current OS release.
It aborts if backports are not supported for the specified OS or It aborts if backports are not supported for the specified OS or
no version codename could be fetched (like Debian unstable). no version codename could be fetched (like Debian unstable).
The package index will be automatically updated by the type The package index will be automatically updated if required.
:strong:`cdist-type__apt_update_index`\ (7) if required.
It supports backports from following OSes: It supports backports from following OSes:
@ -90,7 +89,6 @@ SEE ALSO
`Official Debian Backports site <https://backports.debian.org/>`_ `Official Debian Backports site <https://backports.debian.org/>`_
:strong:`cdist-type__apt_source`\ (7) :strong:`cdist-type__apt_source`\ (7)
:strong:`cdist-type__apt_update_index`\ (7)
AUTHORS AUTHORS

View File

@ -79,6 +79,3 @@ __apt_source "${dist}-backports" \
--distribution "${dist}-backports" \ --distribution "${dist}-backports" \
--component "$components" \ --component "$components" \
--uri "$mirror" --uri "$mirror"
# update the index if the source changed
require="__apt_source/${dist}-backports" __apt_update_index