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

sysrqb at torproject.org sysrqb at torproject.org
Sat Dec 12 21:49:11 UTC 2020


commit 8fc49f50a6f587a9b99b4c9387c2c35a7e7700d2
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