From 66351de4fd86f8adc6a290da125c5b2f9946d5e1 Mon Sep 17 00:00:00 2001 From: Khoa Vo Date: Mon, 29 Jun 2026 20:55:27 +0700 Subject: [PATCH] fix: remove invalid local keyword usage outside function --- install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install.sh b/install.sh index 9298271..f0ce307 100755 --- a/install.sh +++ b/install.sh @@ -255,7 +255,6 @@ if [ -n "$INSTALLING_USER" ] && [ "$INSTALLING_USER" != "root" ]; then fi # Remove any old conflicting configurations in user home - local user_home user_home="$(getent passwd "$INSTALLING_USER" 2>/dev/null | cut -d: -f6 || true)" if [ -n "$user_home" ]; then rm -f "$user_home/.config/vietc/config.toml" 2>/dev/null || true