Merge pull request #5 from AuxXxilium/dev

modules: fix
This commit is contained in:
Christian 2024-03-10 13:02:18 +01:00 committed by GitHub
commit 52f9b0d931
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ function getAllModules() {
mkdir -p "${TMP_PATH}/modules"
local KERNEL="$(readConfigKey "arc.kernel" "${USER_CONFIG_FILE}")"
if [ "${KERNEL}" = "custom" ]; then
tar zxf "${CUSTOM_PATH}/modules.tgz" -C "${TMP_PATH}/modules"
tar zxf "${CUSTOM_PATH}/modules-${PLATFORM}-${KVER}.tgz" -C "${TMP_PATH}/modules"
else
tar zxf "${MODULES_PATH}/${PLATFORM}-${KVER}.tgz" -C "${TMP_PATH}/modules"
fi