" -f forces the installation of the package\n".
" when it is already installed\n".
" -n do not take care of package dependencies\n".
+ " -r only (un)register package, do not (un)install files\n".
" -s soft update: install or upgrade only if needed\n".
" -Z no compression: download plain .tar files";
return $ret;
function getOptions()
{
- return array('f', 'n', 's', 'Z');
+ return array('f', 'n', 'r', 's', 'Z');
}
// }}}
if (isset($options['n'])) {
$opts['nodeps'] = true;
}
+ if (isset($options['r'])) {
+ $opts['register_only'] = true;
+ }
if (isset($options['s'])) {
$opts['soft'] = true;
}