]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
ci: update package list before trying to determine package availability
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 10 May 2023 10:37:45 +0000 (12:37 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Wed, 10 May 2023 10:42:14 +0000 (12:42 +0200)
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
.github/workflows/cibuild-setup-ubuntu.sh

index 93cc21f8b77c493e70f9e0efa871fd3410057d6e..c74d46d2105eb5af713334d01ef139f33b2880e4 100755 (executable)
@@ -2,6 +2,8 @@
      
 set -ex
 
+apt-get -y update --fix-missing
+
 # Xenial uses btrfs-tools, but since Focal it's btrfs-progs
 #
 PACKAGES=(
@@ -41,7 +43,6 @@ if [[ "$TRANSLATE_MANPAGES" == "yes" ]];then
        PACKAGES+=(po4a)
 fi
 
-apt-get -y update --fix-missing
 apt install -y lsb-release software-properties-common
 
 COMPILER="${COMPILER:?}"