Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit ab7703a

Browse files
authored
Bugfix
Correct wrong armbian release recognition which leads to wrong page naming for headers install.
1 parent d3aca31 commit ab7703a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

debian-config-jobs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ function jobs ()
145145
TARGET_BRANCH=$BRANCH
146146
exceptions "$BRANCH"
147147
REMOVE_PKG="linux-headers-*"
148-
if [[ -d /etc/armbian ]]; then
148+
if [[ -f /etc/armbian-release ]]; then
149149
INSTALL_PKG="linux-headers${TARGET_BRANCH}-${TARGET_FAMILY}";
150150
else
151151
INSTALL_PKG="linux-headers-$(uname -r | sed 's/'-$(dpkg --print-architecture)'//')";

0 commit comments

Comments
 (0)