Skip to content

Fix Ubuntu version detection in installer - #640

Open
insha-fab wants to merge 1 commit into
FOSSEE:installersfrom
insha-fab:installer
Open

Fix Ubuntu version detection in installer#640
insha-fab wants to merge 1 commit into
FOSSEE:installersfrom
insha-fab:installer

Conversation

@insha-fab

Copy link
Copy Markdown

FOSSEE eSim Semester Long Internship – Task 4

Issue Fixed

Fixed Ubuntu version detection in Ubuntu/install-eSim.sh.

Problem

The installer used lsb_release to detect the Ubuntu version. This can fail when the command is unavailable.

Fix

Updated the script to:

  • Read Ubuntu version from /etc/os-release
  • Validate that /etc/os-release exists
  • Validate that VERSION_ID is available
  • Set FULL_VERSION using VERSION_ID

Testing

  • Existing test suite: 25 passed
  • Git working tree clean after commit

Files Changed

  • Ubuntu/install-eSim.sh

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