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[@]}"