POL_Configurator_runparts

Informatie

Creator Bericht
petch
Developer

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 240188
Wine: System

Feedbacks

Omschrijving

This implements a standard for extensible configurators.

Put

POL_Call POL_Configurator_runparts


Somewhere near the end of your main configurator script, in the section where both SetupWindow and Debug have been initialized.

Then patch scripts can create configurator parts called "shortcutname.patchname", and those will be sourced in alphabetic order in the context of the main configurator.

Such parts can be left from a previous installation of the main installer, so it's up to each part to check that the matching patch is applied.

Broncode

# Allow for configurator extensions
shopt -s nullglob
for conf in "$0".*; do
    source "$conf"
done

Contributions

Filters:

Contribute
Member Bericht