From acc909dea1dc97b0156fc2f294ac207394015d38 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 7 Oct 2008 22:38:23 +0200 Subject: removed pkg changeroot, it's no longer needed --- bin/pkg | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'bin') diff --git a/bin/pkg b/bin/pkg index 5199751..c8550a4 100755 --- a/bin/pkg +++ b/bin/pkg @@ -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 ;; -- cgit v1.2.3