update.sh

Downloads the required packages and stores them in a temporary directory.

Functions

required(string)

Determines if a package is required or not (if it is inside the $packages list)

Parameters
  • string -

    package The name of the package

Return Value
  • 0 -

    if it is required, otherwise 1

allfound()

Determines if all the required packages have been found returns 0 if true, else 0.

download_package_list()

Download and verify package list for $package_section, then add to Packages file.

download_package_lists()

Downloads the package lists and stores it in the Packages file.