소스 검색

Fix update git version (#6513)

fix https://github.com/FreshRSS/FreshRSS/issues/6512
Compatibility with git older than 2.37
Alexandre Alapetite 2 년 전
부모
커밋
aa2be914d7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Controllers/updateController.php

+ 1 - 1
app/Controllers/updateController.php

@@ -20,7 +20,7 @@ class FreshRSS_update_Controller extends FreshRSS_ActionController {
 				'Please git pull manually!');
 		}
 
-		exec('git -v', $output, $return);
+		exec('git --version', $output, $return);
 		if ($return != 0) {
 			throw new Minz_Exception("Error {$return} git not found: Please update manually!");
 		}