diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 22:38:23 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-07 22:38:23 +0200 |
commit | acc909dea1dc97b0156fc2f294ac207394015d38 (patch) | |
tree | 064ccb4aa587a80cedc259181ccb6491de3cfd82 | |
parent | 80544007aadb03dc5278a94a3c1baea9e18fdf1f (diff) |
removed pkg changeroot, it's no longer needed
-rwxr-xr-x | bin/pkg | 11 | ||||
-rw-r--r-- | man/1/pkg | 7 | ||||
-rw-r--r-- | provides/zsh/completions/_pkg | 4 |
3 files changed, 2 insertions, 20 deletions
@@ -490,16 +490,6 @@ pkg_upgrade () { } } -# Change the 'default' url in every package's .hgrc -pkg_changesrc () { - cd $PDIR - for i in *(/); { - if [[ -f $i/.hg/hgrc ]] { - sed -i "s!default = [^:]*://.*\$!default = $1/$i!" $i/.hg/hgrc - } - } -} - pkg_list_installed () { cut -d ' ' -f 1 $PDIR/.list } @@ -623,7 +613,6 @@ pkg_doc () { case $1 in add) pkg_add $2 ;; changelog) pkg_changelog $2 ;; - changeroot) pkg_changesrc $2 ;; check) wrap pkg_check "$2" "Checking" ;; delete) pkg_remove $2 ;; doc) pkg_doc $2 ;; @@ -24,13 +24,6 @@ fetch given I<package> from the package_root and install it Show I<package>'s changelog (if available) -=item B<changeroot> I<source> - -Change the default source on all packages to I<source> - -Example: `changeroot ssh://kraftwerk/var/packages_root` will change -the source of core to 'ssh://kraftwerk/var/packages_root/core' - =item B<check> [ I<package> ] Check dependencies, conflicts and symlinks of I<package>. diff --git a/provides/zsh/completions/_pkg b/provides/zsh/completions/_pkg index 0bd1b27..78bacc3 100644 --- a/provides/zsh/completions/_pkg +++ b/provides/zsh/completions/_pkg @@ -9,8 +9,8 @@ typeset expl function _pkg_action () { _wanted action expl 'action' \ - compadd add install changelog changeroot check delete eval remove info \ - list list-all local-update log push remote-update status update upgrade + compadd add install changelog check delete eval remove info list \ + list-all local-update log push remote-update status update upgrade } function _pkg_installed () { |