()
| 363 | } |
| 364 | |
| 365 | func failIfCamlistoreOrgDir() { |
| 366 | dir, _ := os.Getwd() |
| 367 | if strings.HasSuffix(dir, "camlistore.org") { |
| 368 | log.Fatalf(`Camlistore was renamed to Perkeep. Your current directory (%s) looks like a camlistore.org directory. |
| 369 | |
| 370 | We're expecting you to be in a perkeep.org directory now. |
| 371 | |
| 372 | See https://github.com/perkeep/perkeep/issues/981#issuecomment-354690313 for details. |
| 373 | |
| 374 | You need to rename your "camlistore.org" parent directory to "perkeep.org" |
| 375 | |
| 376 | `, dir) |
| 377 | } |
| 378 | } |