From 5e016dd13cc068c92e5194479bb937dbfeb6416c Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Fri, 31 Jan 2025 22:20:36 +0100 Subject: [PATCH] Update install_coral_lxc.sh --- scripts/install_coral_lxc.sh | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/scripts/install_coral_lxc.sh b/scripts/install_coral_lxc.sh index 5fbb0cc..1e9710a 100644 --- a/scripts/install_coral_lxc.sh +++ b/scripts/install_coral_lxc.sh @@ -35,18 +35,9 @@ if ! source <(curl -sSf "$UTILS_URL"); then exit 1 fi -initialize_cache() { - if [ ! -f "$CACHE_FILE" ]; then - echo "{}" > "$CACHE_FILE" - return - fi -} +initialize_cache +load_language -load_language() { - if [ -f "$CONFIG_FILE" ]; then - LANGUAGE=$(jq -r '.language' "$CONFIG_FILE") - fi -} # ========================================================== # Select LXC container