From 3027dc014ed2432028f8bb4490d631c53eb5619d Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 18 Apr 2022 14:35:21 +0200 Subject: [PATCH] gitlab-ci: fix sudo test in "fdroid build" job --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dda4ccc0..2320696f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -386,7 +386,7 @@ fdroid build: - $fdroid build --verbose --on-server --no-tarball org.fdroid.fdroid:$currentVersionCode # each `fdroid build --on-server` run expects sudo, then uninstalls it - - ! dpkg --list sudo + - if dpkg --list sudo; then echo "sudo should not be still there"; exit 1; fi # test the plugin API and specifically the fetchsrclibs plugin, which