Subversion Repositories SvarDOS

Compare Revisions

Ignore whitespace Rev 1157 → Rev 1156

/website/repo/index.php
108,14 → 108,9
echo "ERROR: no package specified\r\n";
exit(0);
}
// pull and pullsrc actions accept pkg-ver strings
if ($a == 'pull' || $a == 'pullsrc') {
$pv = explode('-', strtolower($_GET['p']));
$p = $pv[0];
if (!empty($pv[1])) $v = $pv[1];
} else {
$p = strtolower($_GET['p']);
}
$pv = explode('-', strtolower($_GET['p']));
$p = $pv[0];
if (!empty($pv[1])) $v = $pv[1];
}