POL_Configurator_runparts

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 410420
Wine: System

Retours d'expérience

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.

Code source

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

Contributions

Filters:

Contribuer
Membre Messages

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