|
<?php
|
|
|
|
class DEB implements IRule
|
|
{
|
|
|
|
public function getMatchingExtensions(): array
|
|
{
|
|
return ["deb"];
|
|
}
|
|
|
|
|
|
public function processFile(string $file)
|
|
{
|
|
echo shell_exec("reprepro -b ".escapeshellarg(Config::$dest . "/linux/deb")." includedeb yabba ".escapeshellarg($file));
|
|
}
|
|
|
|
|
|
} |