From 5fe23d2874885d3efb7b1a55a578cf277715dd80 Mon Sep 17 00:00:00 2001 From: Vargink Date: Mon, 30 Sep 2024 07:13:20 +1000 Subject: [PATCH] update created tcmeta key function --- vargtools | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/vargtools b/vargtools index 0353b91..c88795e 100644 --- a/vargtools +++ b/vargtools @@ -79,7 +79,7 @@ vMenuSettings() { if ! [ -f /etc/vargtools/tcmeta ]; then menuNumberIndex=$((menuNumberIndex+1)) menuItems+=("$menuNumberIndex. Set TCMeta Key") - menuActions+=(updateVargtools) + menuActions+=(setTcmetaKey) fi menuItems+=("B. Back") menuActions+=(vMenuMain) @@ -180,6 +180,15 @@ updateVargtools() { exec /usr/local/bin/vargtools } +setTcmetaKey() { + logo + echo [TCMeta] please enter the git key + read -r key + echo $key > /etc/vargtools/tcmeta + echo [TCMeta] Key Applied + return 1 +} + installChicago95() { logo echo [Chicago95] Installing prereqs