update
created tcmeta key function
This commit is contained in:
11
vargtools
11
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
|
||||
|
||||
Reference in New Issue
Block a user