feat: make new BOOTSTRAP_OK

This commit is contained in:
zkldi
2024-08-17 15:22:04 +00:00
parent d061abfce0
commit f7d0740200
4 changed files with 7 additions and 5 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ function syncDatabaseWithSeeds {
# always setup the shell
setupShell
if [ -e I_HAVE_BOOTSTRAPPED_OK ]; then
if [ -e BOOTSTRAP_OK ]; then
echo "Already bootstrapped."
exit 0
fi
@@ -111,7 +111,7 @@ installLocalDebs
echo "Bootstrap Complete."
cat << EOF > I_HAVE_BOOTSTRAPPED_OK
cat << EOF > BOOTSTRAP_OK
Tachi was bootstrapped here on $(date).
The existence of this file stops Tachi from bootstrapping again.
+1 -1
View File
@@ -35,7 +35,7 @@ function fish_greeting
echo "Welcome to $(rgb "Tachi" e61c6e 131313)!"
if ! test -e /tachi/I_HAVE_BOOTSTRAPPED_OK
if ! test -e /tachi/BOOTSTRAP_OK
echo ""
echo $(rgb "Something went wrong and Tachi didn't set up correctly." ff0000 000000)
echo ""