mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-22 23:18:05 +03:00
feat: make new BOOTSTRAP_OK
This commit is contained in:
+2
-2
@@ -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
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user