#!/usr/bin/php -q 0) { $unRAID = plugin('unRAID', $file); if ($unRAID === false || version_compare($current['version'], $unRAID, '>=')) { $name = basename($file, '.plg'); exec("$notify -e ".escapeshellarg("Plugin - $name [$new]")." -s ".escapeshellarg("Notice [$server] - Version update $new")." -d ".escapeshellarg("A new version of $name is available")." -i ".escapeshellarg("normal $output")." -x"); } } } exit(0); ?>