#871 - Updating all skills

pull/829/head
Augusto Monteiro 'Sparky 2017-06-30 19:23:10 -04:00 committed by Steve Penrod
parent 7bab1d1e21
commit cde749a2fa
1 changed files with 0 additions and 2 deletions

View File

@ -166,11 +166,9 @@ cd "${mycroft_skill_folder}"
for d in $(find "${mycroft_skill_folder}" -mindepth 1 -maxdepth 1 -type d |grep -v '.git'$ ); do
if git -C "$d" rev-parse --git-dir > /dev/null 2>&1; then
cd "${d}"
if [[ -z $(git status --porcelain) ]]; then
git fetch
git reset --hard origin/master
fi
fi
done
}