[tbb-commits] [tor-browser-build/master] Bug 40166: Update apt cache before calling pre_pkginst in container-image config

gk at torproject.org gk at torproject.org
Fri Dec 4 16:57:38 UTC 2020


commit 404f2c584a207abcb309614f3376eb02683bf5d9
Author: Matthew Finkel <sysrqb at torproject.org>
Date:   Fri Dec 4 14:44:29 2020 +0000

    Bug 40166: Update apt cache before calling pre_pkginst in container-image config
    
    Thanks to boklm for the suggestion in #23631
---
 projects/container-image/config | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/container-image/config b/projects/container-image/config
index 3abba6c..e8f3f38 100644
--- a/projects/container-image/config
+++ b/projects/container-image/config
@@ -27,10 +27,10 @@ pre: |
   # [% c('var/container/suite') %]
   set -e
   export DEBIAN_FRONTEND=noninteractive
+  apt-get update -y -q
   [% IF pc(c('origin_project'), 'var/pre_pkginst') -%]
   [% pc(c('origin_project'), 'var/pre_pkginst') %]
   [% END -%]
-  apt-get update -y -q
   apt-get upgrade -y -q
   [%
      deps = [];



More information about the tbb-commits mailing list