Skip to content

Conversation

mikehardy
Copy link
Contributor

  • make sure the root of android stuff is chowned for installation of completely new things if needed
  • don't fail when recursively chowning specific android things, as they may not exist yet (i.e., platform-tools) when chown is attempted

- make sure the root of android stuff is owned for modification
- don't fail when recursively chowning specific android things, as
  they may not exist yet (i.e., platform-tools) when chown is attempted
@mikehardy
Copy link
Contributor Author

This can be considered a follow-on to #406 - which is a nice performance boost but makes assumptions about the directories existing - linux will throw a non-zero exit code if you chown something that isn't there but using a || true in the shell means that you can blindly try the chown and it's fine if it fails

@mikehardy
Copy link
Contributor Author

chown not required at all anymore it seems - less code == better

#409 (comment)

@mikehardy mikehardy closed this Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant