Browse Source

Ensure ownership

Bob Mottram 10 years ago
parent
commit
7fe83fbf27
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone

+ 1
- 0
src/freedombone View File

8390
       echo 'git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8390
       echo 'git stash' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8391
       echo 'git stash drop' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8391
       echo 'git stash drop' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8392
       echo 'git pull' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
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
   fi
8394
   fi
8394
 
8395
 
8395
   echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME
8396
   echo 'exit 0' >> /etc/cron.weekly/$UPGRADE_SCRIPT_NAME