Browse Source

Check for presence of .git to see if it is QtPass default password-store

master
GoFish 5 years ago
parent
commit
56335c20fb
  1. 2
      windows_to_go.ps1

2
windows_to_go.ps1

@ -40,7 +40,7 @@ if (-not (Test-Path -Path "$env:userprofile\.ssh" -PathType Container)) {
}
# Delete empty QtPass default password-store
if ((Test-Path -Path "$env:userprofile\password-store" -PathType Container) -And -not (Test-Path -Path "$env:userprofile\password-store\*")) {
if ((Test-Path -Path "$env:userprofile\password-store" -PathType Container) -And -not (Test-Path -Path "$env:userprofile\password-store\.git")) {
rm -r "$env:userprofile\password-store"
}

Loading…
Cancel
Save