Skip to content

dev_functions_1intial

Xmetalfanx edited this page Mar 30, 2023 · 1 revision

Function Information

Intial setup (getting things ready for the checks)

  • IntialChecks function called
    • scriptDependencyCheck is ran
      • located in f_generalInfo.cfg file
        1. Calls lsbReleaseCheck function
      • PackageManDetection function is called
      • checks if lsb support is installed and if not, installs it 2. Calls wgetAndCurlCheck function
      • checks if wget and/or curl support is installed and if not, installs it

packageManDetection function

  • detects if any of a series of well known package managers are installed and when it finds one, assigns that to the pmanager variable
    • supported package managers:
      • apt (Debian or Ubuntu)
      • dnf (Fedora)
      • eopkg (Solus)
      • zypper (openSUSE)
  • NOW the package manager should be known
    • idea:
      • CAN I SIMPLIFY THINGS? Since knowing the pacakge manager, tells me alot
Clone this wiki locally