From 27aca06fb893c84601e14bc30890ea6be9300dcd Mon Sep 17 00:00:00 2001 From: Matthias Stecher Date: Sat, 12 Dec 2020 17:34:51 +0100 Subject: [PATCH] __apt_backports: undo __apt_update_index call Becuase it is already done by __apt_source. --- cdist/conf/type/__apt_backports/man.rst | 4 +--- cdist/conf/type/__apt_backports/manifest | 3 --- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/cdist/conf/type/__apt_backports/man.rst b/cdist/conf/type/__apt_backports/man.rst index c578ce6b..7036fb84 100644 --- a/cdist/conf/type/__apt_backports/man.rst +++ b/cdist/conf/type/__apt_backports/man.rst @@ -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 `_ :strong:`cdist-type__apt_source`\ (7) -:strong:`cdist-type__apt_update_index`\ (7) AUTHORS diff --git a/cdist/conf/type/__apt_backports/manifest b/cdist/conf/type/__apt_backports/manifest index c2943725..bc47d8de 100755 --- a/cdist/conf/type/__apt_backports/manifest +++ b/cdist/conf/type/__apt_backports/manifest @@ -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