feat(install): Add optional install script execution for packages
This commit introduces the ability for packages to define an optional install script within the `packages.conf` file. The `install.sh` script will now parse this new field and execute the provided script after all associated package files have been downloaded. The `packages.conf` documentation has been updated to reflect the new format, including the optional fifth field for the install script.
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
# This file contains the configuration for the script downloader.
|
||||
# The `SCRIPT_PACKAGES` associative array maps a short package name
|
||||
# to a pipe-separated string with the following format:
|
||||
# "<Display Name>|<Version>|<Description>|<Space-separated list of URLs>"
|
||||
# "<Display Name>|<Version>|<Description>|<Space-separated list of URLs>|[Install Script (optional)]"
|
||||
# The Install Script will be executed after all files for the package are downloaded.
|
||||
|
||||
declare -A SCRIPT_PACKAGES
|
||||
|
||||
|
||||
Reference in New Issue
Block a user