Browse Source

__apt_backports: undo __apt_update_index call

Becuase it is already done by __apt_source.
bugfix/preos-debug
matze 2 years ago
parent
commit
27aca06fb8
  1. 4
      cdist/conf/type/__apt_backports/man.rst
  2. 3
      cdist/conf/type/__apt_backports/manifest

4
cdist/conf/type/__apt_backports/man.rst vendored

@ -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
no version codename could be fetched (like Debian unstable).
The package index will be automatically updated by the type
:strong:`cdist-type__apt_update_index`\ (7) if required.
The package index will be automatically updated if required.
It supports backports from following OSes:
@ -90,7 +89,6 @@ SEE ALSO
`Official Debian Backports site <https://backports.debian.org/>`_
:strong:`cdist-type__apt_source`\ (7)
:strong:`cdist-type__apt_update_index`\ (7)
AUTHORS

3
cdist/conf/type/__apt_backports/manifest vendored

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

Loading…
Cancel
Save