From 474cfb47322aeebcd2210a531b9129f344f23494 Mon Sep 17 00:00:00 2001 From: MilkyDeveloper <48262994+MilkyDeveloper@users.noreply.github.com> Date: Thu, 23 Jun 2022 12:29:10 -0500 Subject: [PATCH] Cleaner solution for #234 --- utils/extract.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/extract.sh b/utils/extract.sh index d1b3cacc..aab8133b 100644 --- a/utils/extract.sh +++ b/utils/extract.sh @@ -57,7 +57,7 @@ function extractModules { sudo mkdir -p ${MNT}/lib/modules mkdir -p modules || sudo rm -rf modules; sudo mkdir -p modules - sudo tar xvpf modules.tar.xz -C modules + sudo tar xvpf modules.tar.xz -C modules || echo "This seems to be a malformed modules.tar.xz archive. Try removing ~/linux-build and rerunning this script." sudo rm -rf ${MNT}/lib/modules/* sudo cp -rv modules/lib/modules/* ${MNT}/lib/modules syncStorage