POL_Configurator_runparts

Informations

Creator Message
petch

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 410400
Wine: System

Feedbacks

Description

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.

Source code

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

Contributions

Filters:

Contribute
Member Message

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com