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
|
if ! [ -f /etc/vargtools/tcmeta ]; then
|
||||||
menuNumberIndex=$((menuNumberIndex+1))
|
menuNumberIndex=$((menuNumberIndex+1))
|
||||||
menuItems+=("$menuNumberIndex. Set TCMeta Key")
|
menuItems+=("$menuNumberIndex. Set TCMeta Key")
|
||||||
menuActions+=(updateVargtools)
|
menuActions+=(setTcmetaKey)
|
||||||
fi
|
fi
|
||||||
menuItems+=("B. Back")
|
menuItems+=("B. Back")
|
||||||
menuActions+=(vMenuMain)
|
menuActions+=(vMenuMain)
|
||||||
@@ -180,6 +180,15 @@ updateVargtools() {
|
|||||||
exec /usr/local/bin/vargtools
|
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() {
|
installChicago95() {
|
||||||
logo
|
logo
|
||||||
echo [Chicago95] Installing prereqs
|
echo [Chicago95] Installing prereqs
|
||||||
|
|||||||
Reference in New Issue
Block a user