summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-07 22:38:23 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-07 22:38:23 +0200
commitacc909dea1dc97b0156fc2f294ac207394015d38 (patch)
tree064ccb4aa587a80cedc259181ccb6491de3cfd82 /bin
parent80544007aadb03dc5278a94a3c1baea9e18fdf1f (diff)
removed pkg changeroot, it's no longer needed
Diffstat (limited to 'bin')
-rwxr-xr-xbin/pkg11
1 files changed, 0 insertions, 11 deletions
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 ;;