Unverified Commit ab7703a4 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Bugfix

Correct wrong armbian release recognition which leads to wrong page naming for headers install.
parent d3aca31d
......@@ -145,7 +145,7 @@ function jobs ()
TARGET_BRANCH=$BRANCH
exceptions "$BRANCH"
REMOVE_PKG="linux-headers-*"
if [[ -d /etc/armbian ]]; then
if [[ -f /etc/armbian-release ]]; then
INSTALL_PKG="linux-headers${TARGET_BRANCH}-${TARGET_FAMILY}";
else
INSTALL_PKG="linux-headers-$(uname -r | sed 's/'-$(dpkg --print-architecture)'//')";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment