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

feat: support deepin OS #444

Merged
merged 1 commit into from
May 27, 2023
Merged

feat: support deepin OS #444

merged 1 commit into from
May 27, 2023

Conversation

SteveLauC
Copy link
Member

Standards checklist:

  • The PR title is descriptive.
  • I have read CONTRIBUTING.md
  • The code compiles (cargo build)
  • The code passes rustfmt (cargo fmt)
  • The code passes clippy (cargo clippy)
  • The code passes tests (cargo test)
  • Optional: I have tested the code myself
    • I also tested that Topgrade skips the step where needed

If you developed a feature or a bug fix for someone else and you do not have the
means to test it, please tag this person here.

What does this PR do

Support deepin Linux, it is a distro based on debian. In its /etc/os-release file, there is no ID_LIKE field so topgrade can not fall back to debian in the current impl.

# before
$ topgrade --dry-run --only system
Error detecting current distribution: Unknown Linux Distribution

# after
$ topgrade --dry-run --only system
── 13:21:35 - System update ────────────────────────────────────────────────────
Dry running: /usr/bin/sudo apt-get update
Dry running: /usr/bin/sudo apt-get dist-upgrade

── 13:21:35 - Summary ──────────────────────────────────────────────────────────
System update: OK

@s34m s34m merged commit 1ab0232 into topgrade-rs:master May 27, 2023
@SteveLauC SteveLauC deleted the deepin branch May 27, 2023 09:42
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