Skip to content

Commit 5190292

Browse files
committed
Remove version part from filename of install scripts
1 parent da8753d commit 5190292

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/package/pip/database.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The `database`-PIP expects a relative path to a `.php` file that returns an arra
2525
The PHP script is deployed by using the [file package installation plugin](file.md).
2626
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:
2727

28-
- Installation: `acp/database/install_<package>_<version>.php` (example: `acp/database/install_com.woltlab.wbb_5.4.0.php`)
28+
- Installation: `acp/database/install_<package>.php` (example: `acp/database/install_com.woltlab.wbb.php`)
2929
- Update: `acp/database/update_<package>_<targetVersion>.php` (example: `acp/database/update_com.woltlab.wbb_5.4.1.php`)
3030

3131
`<targetVersion>` equals the version number of the current package being installed.

docs/package/pip/script.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The `script`-PIP expects a relative path to a `.php` file.
2323
The PHP script is deployed by using the [file package installation plugin](file.md).
2424
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:
2525

26-
- Installation: `install_<package>_<version>.php` (example: `install_com.woltlab.wbb_5.0.0.php`)
26+
- Installation: `install_<package>.php` (example: `install_com.woltlab.wbb.php`)
2727
- Update: `update_<package>_<targetVersion>.php` (example: `update_com.woltlab.wbb_5.0.0_pl_1.php`)
2828

2929
`<targetVersion>` equals the version number of the current package being installed.

0 commit comments

Comments
 (0)