]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Set a flag to indicate when finished.
authorEdward Delaporte <delaport@illinois.edu>
Wed, 1 Apr 2020 13:27:28 +0000 (08:27 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Wed, 1 Apr 2020 13:27:28 +0000 (08:27 -0500)
.gitignore
bootstrap.ps1

index 397b4a7624e35fa60563a9c03b1213d93f7b6546..dde2b51448a8a8ff654683aec57971e20db32ba6 100644 (file)
@@ -1 +1,2 @@
 *.log
+DONE.md
\ No newline at end of file
index 9cefade075b0031b6749dd4b7dcb1aa1a9feed29..0ff0284e73ccd7f671b51099fa22c74845d27f7b 100644 (file)
@@ -7,10 +7,10 @@ $sourceMeLine = '$profileContents = [string]::join([environment]::newline, (get-
 $sourceMeLine += $sourceMeFile
 $sourceMeLine += '));invoke-expression $profileContents'
 
-Write-Host $sourceMeLine
+# Write-Host $sourceMeLine
 
 $doneFlagFile = "./DONE.md"
-$doBootStrap = Test-Path -Path $doneFlagFile
+$doBootStrap = -Not (Test-Path -Path $doneFlagFile)
 
 $profileContents = Get-Content $profile 
 if(! $profileContents -contains $sourceMeLine) {