From 30fbe303b083a12830e7bef306d1ef902946901b Mon Sep 17 00:00:00 2001 From: Ilia Ross Date: Sun, 29 Sep 2024 03:13:07 +0300 Subject: [PATCH] Fix README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 16aec63..ddb177b 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ We strongly recommend you use the latest version of your preferred **Grade A** s # How to run it -**Never run the install script on anything other than a freshly installed OS. It is for installation, not upgrading.** +> Never run the install script on anything other than a **freshly installed OS**. It is for installation, _not upgrading_! ## Upstream Version @@ -63,6 +63,9 @@ Please file tickets, either here or at [Virtualmin Forum](https://forum.virtualm The Virtualmin install script is highly customizable and includes various hooks that can be inserted at any stage of the installation process. If you're integrating the script into your own project, you can use these hooks to inject custom code, add new phases, or control the text displayed to the user throughout the installation. ## Usage example for your project in a wrapper script +
+ Detailed description of hooks + ```sh hook__usage() { # If defined, it will override the default usage message @@ -282,6 +285,9 @@ hooks__phases=' ' export hooks__phases ``` +
+ + \* A fully working third-party script example using hooks can be found [here](https://gitlab.com/wikisuite/wikisuite-packages/-/raw/main/wikisuite-installer.bash). # How to contribute