Skip to content

Commit 1e7f6cc

Browse files
committed
armbian-software: Adjust packages
1 parent fa7a42c commit 1e7f6cc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build-armbian/armbian-files/common-files/usr/sbin/armbian-software

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,14 @@ check_release() {
6969
check_depends() {
7070
# List of required dependencies
7171
dpkg_packages=(
72-
"curl" "tar" "software-properties-common" "apt-transport-https" "ca-certificates"
73-
"git" "coreutils" "systemd" "net-tools" "cpu-checker" "dnsmasq-base" "dmidecode"
72+
"apt-transport-https" "ca-certificates" "coreutils" "cpu-checker" "curl"
73+
"dmidecode" "dnsmasq-base" "git" "net-tools" "systemd" "tar"
7474
)
75+
# Add additional dependencies for non-trixie versions
76+
if [[ "${VERSION_CODENAME}" != "trixie" ]]; then
77+
dpkg_packages+=("software-properties-common")
78+
fi
79+
7580
# Cyclic check all dependencies
7681
is_dpkg="0"
7782
i="1"

0 commit comments

Comments
 (0)