Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
MichaIng committed Oct 31, 2023
1 parent 32ac26a commit e6a611d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .build/software/gogs/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
Expand Down

0 comments on commit e6a611d

Please sign in to comment.