Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify the install logic #212

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Simplify the install logic #212

merged 1 commit into from
Dec 19, 2024

Conversation

chemwolf6922
Copy link
Contributor

Why is this change made

The old install logic uses a if logic to handle missing root conditions. Which is not straightforward and unnecessary.

Changes

  • Avoid switching directories.
  • Use variables to avoid repeating path names.
  • Use mkdir -p instead to make sure the target root is created.

Tests

  • Tested the script with local folders.

@SusanPhevos SusanPhevos merged commit c4a981a into XiaoMi:main Dec 19, 2024
5 checks passed
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.

2 participants