-
Notifications
You must be signed in to change notification settings - Fork 2
dev_functions_3Determine_Distro
Xmetalfanx edited this page Mar 30, 2023
·
1 revision
-
runs a series of checks to determine the distro, based on such things as:
- Package Manager
- prior obtained lsb and/or os-release information
- special files such as /etc/fedora-release to detect Fedora (in this example)
-
MORE specific branch checking is done in the loop, when an if statement is triggered... - This could be checking what branch of openSUSE Leap it is, "is this Manjaro or Arch", or what release of Debian or Ubuntu it is ...etc etc
-
supported is the variable that is set to yes or no
- ALL distros that I currently support should have a supported variable set.
- if it's a rolling release I should have a check to see the last time the distro was updated and if passed a certain period of time, displays a message to the user
- Script Menus
- Software Menu
- Xmetal's Bulk Tasks
- Dev Documentation
- Distros
- Cleanup Menu
- Software Menus