From e6a611db7a3a4b205797ae3fbfb851961dedefd1 Mon Sep 17 00:00:00 2001 From: MichaIng Date: Tue, 31 Oct 2023 22:11:33 +0100 Subject: [PATCH] v8.24 - CI | Gogs: Fix 7z compression command on Trixie, where again 7zr needs to be used. 7zz is used/provided by the 7zip package on Bookworm only --- .build/software/gogs/build.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.build/software/gogs/build.bash b/.build/software/gogs/build.bash index 58f423f1d5..e29b14dc36 100755 --- a/.build/software/gogs/build.bash +++ b/.build/software/gogs/build.bash @@ -3,7 +3,8 @@ . /boot/dietpi/func/dietpi-globals # Build deps -(( $G_DISTRO < 7 )) && deps=('p7zip') c7zip='7zr' || deps=('7zip') c7zip='7zz' +(( $G_DISTRO < 7 )) && deps=('p7zip') || deps=('7zip') +(( $G_DISTRO == 7 )) && c7zip='7zz' || c7zip='7zr' # Since Trixie, the 7zip package provides again (only) the 7z/7zr commands, not 7zz G_AGUP G_AGDUG gcc libc6-dev "${deps[@]}"