From: Tim Düsterhus Date: Tue, 16 Nov 2021 10:01:24 +0000 (+0100) Subject: Remove `version` part from filename of install scripts X-Git-Tag: 5.6.final~53^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5190292d432f58fa6e416c4b47937035d0b807fa;p=GitHub%2FWoltLab%2Fwoltlab.github.io.git Remove `version` part from filename of install scripts --- diff --git a/docs/package/pip/database.md b/docs/package/pip/database.md index f2fa132b..57aecdbc 100644 --- a/docs/package/pip/database.md +++ b/docs/package/pip/database.md @@ -25,7 +25,7 @@ The `database`-PIP expects a relative path to a `.php` file that returns an arra The PHP script is deployed by using the [file package installation plugin](file.md). To prevent it from colliding with other install script (remember: You cannot overwrite files created by another plugin), we highly recommend to make use of these naming conventions: -- Installation: `acp/database/install__.php` (example: `acp/database/install_com.woltlab.wbb_5.4.0.php`) +- Installation: `acp/database/install_.php` (example: `acp/database/install_com.woltlab.wbb.php`) - Update: `acp/database/update__.php` (example: `acp/database/update_com.woltlab.wbb_5.4.1.php`) `` equals the version number of the current package being installed. diff --git a/docs/package/pip/script.md b/docs/package/pip/script.md index 464dbd01..85ea10fd 100644 --- a/docs/package/pip/script.md +++ b/docs/package/pip/script.md @@ -23,7 +23,7 @@ The `script`-PIP expects a relative path to a `.php` file. The PHP script is deployed by using the [file package installation plugin](file.md). To prevent it from colliding with other install script (remember: You cannot overwrite files created by another plugin), we highly recommend to make use of these naming conventions: -- Installation: `install__.php` (example: `install_com.woltlab.wbb_5.0.0.php`) +- Installation: `install_.php` (example: `install_com.woltlab.wbb.php`) - Update: `update__.php` (example: `update_com.woltlab.wbb_5.0.0_pl_1.php`) `` equals the version number of the current package being installed.