소스 검색

Ensure ownership

Bob Mottram 10 년 전
부모
커밋
7fe83fbf27
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone 파일 보기

@@ -8390,6 +8390,7 @@ function create_upgrade_script {
8390 8390
       echo 'git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8391 8391
       echo 'git stash drop' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8392 8392
       echo 'git pull' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8393
+      echo "chown -R git:git /home/git" >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8393 8394
   fi
8394 8395
 
8395 8396
   echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME