Compare commits

...

12 Commits

Author SHA1 Message Date
32532147e8 Minor cleanup 2023-05-29 19:07:23 +02:00
2fd033a8c5 removed debug stuff 2023-05-29 19:01:16 +02:00
a1b030e463 Fixes for language files7. 2023-05-29 16:18:23 +02:00
21fb878ffb Fixes for language files6. 2023-05-29 16:17:12 +02:00
2114bcc8b5 Fixes for language files5. 2023-05-29 16:14:05 +02:00
7d88fc5066 Fixes for language files4. 2023-05-29 16:12:03 +02:00
08a53a737f Fixes for language files3. 2023-05-29 16:07:40 +02:00
46e90bd798 Fixes for language files2. 2023-05-29 15:53:23 +02:00
c8b88021ed Fixes for language files1. 2023-05-29 15:50:59 +02:00
dabe69967d Fixes for language files. 2023-05-29 15:49:01 +02:00
154bd410a4 added more flibiliy for versions, added dry-run option 2023-05-29 15:26:11 +02:00
7e85faf2f2 added more flibiliy for versions, added dry-run option 2023-05-29 15:07:19 +02:00
3 changed files with 567 additions and 497 deletions

File diff suppressed because it is too large Load Diff

@ -5,7 +5,7 @@ Shell Script to update phpBB to current version.
Usage:
Switch into you current phpBB root directory, then
Switch into your current phpBB root directory, then
`git clone https://git.24unix.net/tracer/phpbb_updates.git`
@ -31,3 +31,5 @@ and

@ -1,9 +1,21 @@
#!/usr/bin/env php
<?php
use App\UpdateController;
require __DIR__ . '/vendor/autoload.php';
$update = new UpdateController();
$options = $update->parseOpts();
// Help option
if (array_key_exists(key: 'h', array: $options) || array_key_exists(key: 'help', array: $options)) {
$update->printHelp();
exit(0);
}
if (array_key_exists(key: 'd', array: $options) || array_key_exists(key: 'dry-run', array: $options)) {
$update->setDryRun();
}
$update->handleUpdate();