From 27e7ce9714b86306bf2c8873131d87a8d5b2eca2 Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Fri, 5 Apr 2024 21:03:38 +0200 Subject: [PATCH] consts: add more for next update Signed-off-by: AuxXxilium --- files/initrd/opt/arc/include/consts.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/include/consts.sh b/files/initrd/opt/arc/include/consts.sh index 58589870..b1639434 100755 --- a/files/initrd/opt/arc/include/consts.sh +++ b/files/initrd/opt/arc/include/consts.sh @@ -1,5 +1,5 @@ -ARC_VERSION="23.1.1" +ARC_VERSION="24.1.1" ARC_TITLE="Arc ${ARC_VERSION}" # Define paths @@ -16,6 +16,9 @@ UPLOAD_PATH="${TMP_PATH}/upload" USER_CONFIG_FILE="${PART1_PATH}/user-config.yml" PRESET_CONFIG_FILE="${PART1_PATH}/preset-config.yml" +if [ -f "${PRESET_CONFIG_FILE}" ]; then + USER_CONFIG_FILE="${PART1_PATH}/preset-config.yml" +fi GRUB_PATH="${PART1_PATH}/boot/grub" ORI_ZIMAGE_FILE="${PART2_PATH}/zImage"