14 lines
374 B
Diff
14 lines
374 B
Diff
11a12
|
|
> "os/exec"
|
|
249a251,256
|
|
> if setting.Annex.Enabled {
|
|
> if _, err := exec.LookPath("git-annex"); err != nil {
|
|
> log.Fatal("You have enabled git-annex support but git-annex is not installed. Please make sure that Forgejo's PATH contains the git-annex executable.")
|
|
> }
|
|
> }
|
|
>
|
|
311a319,322
|
|
> }
|
|
>
|
|
> if setting.Annex.Enabled {
|
|
> log.Info("git-annex enabled")
|