Fix .git permissions after autoupdate

This commit is contained in:
Alex Malinovich 2016-12-05 13:27:48 -08:00
commit 0873593102

View file

@ -349,6 +349,10 @@ if [ "${AUTOUPDATE}" = "yes" ]; then
done done
fi fi
# .git permissions don't seem to be affected by running as root even though files inside do, so just reset
# the permissions to match the folder
chown -R --reference=.git .git
info "Update complete" info "Update complete"
#make sure we're back in the right relative location before testing $0 #make sure we're back in the right relative location before testing $0