mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
21 lines
548 B
PHP
21 lines
548 B
PHP
#!/usr/bin/env php
|
|
<?php
|
|
|
|
/**
|
|
* Postprocess PreDB - Utility Script
|
|
*
|
|
* This script checks releases against PreDB for matches.
|
|
*
|
|
* Modernized version - now delegates to Artisan command
|
|
* Original location: misc/update/tmux/bin/postprocess_pre.php
|
|
* New location: app/Services/Tmux/Scripts/postprocess_pre.php
|
|
*/
|
|
|
|
$limit = isset($argv[1]) && is_numeric($argv[1]) ? $argv[1] : '';
|
|
$artisan = dirname(__DIR__, 4).'/artisan';
|
|
|
|
$command = "php {$artisan} predb:check".($limit ? " {$limit}" : '');
|
|
|
|
passthru($command, $exitCode);
|
|
exit($exitCode);
|