From bf0b2482b43be2b7f9bdb1f21e3082323cece926 Mon Sep 17 00:00:00 2001 From: GP3D <120025021+GP3D84@users.noreply.github.com> Date: Thu, 3 Oct 2024 01:53:11 +0200 Subject: [PATCH] Moonraker: fix packages variable name changed (#153) More info: https://github.com/mainsail-crew/MainsailOS/commit/0d951e47cb683a8d4859ed1f17f40702baa303ed --- src/modules/moonraker/start_chroot_script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/modules/moonraker/start_chroot_script b/src/modules/moonraker/start_chroot_script index 4320cb6ac..2b7f4dcb8 100644 --- a/src/modules/moonraker/start_chroot_script +++ b/src/modules/moonraker/start_chroot_script @@ -41,11 +41,11 @@ gitclone MOONRAKER_REPO moonraker ## Step 3: grep PKGLIST from install-moonraker.sh for dependencies echo_green "Generating packages file ..." -grep "PKGLIST=" "${MN_BUILD_INSTALL_SH}" >> "${MN_BUILD_PACKAGE_FILE}" +grep "PACKAGES=" "${MN_BUILD_INSTALL_SH}" >> "${MN_BUILD_PACKAGE_FILE}" -## Step 4: Rename PKGLIST to Module usable Var -echo_green "Rename variable PKGLIST to MOONRAKER_DEPS ..." -sed -i 's/PKGLIST/MOONRAKER_DEPS/g' "${MN_BUILD_PACKAGE_FILE}" +## Step 4: Rename PACKAGES to Module usable Var +echo_green "Rename variable PACKAGES to MOONRAKER_DEPS ..." +sed -i 's/PACKAGES/MOONRAKER_DEPS/g' "${MN_BUILD_PACKAGE_FILE}" ## Step 5: Source cn_package.lst file # shellcheck disable=SC1090