summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-10 22:15:44 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-10 22:15:44 +0000
commit8448d2f5052da97dd52d9a45809d39594fa28a45 (patch)
treed72d05f4d9c98df292b81faabcab59eba17a7ba2
parent57e9e86e6f0ea7c48faff6585cb4b518d2fbaf61 (diff)
downloadportage-8448d2f5052da97dd52d9a45809d39594fa28a45.tar.gz
portage-8448d2f5052da97dd52d9a45809d39594fa28a45.tar.bz2
portage-8448d2f5052da97dd52d9a45809d39594fa28a45.zip
This is an obsolete shell script for applying package moves vardb entry.
svn path=/main/trunk/; revision=13984
-rwxr-xr-xbin/fixdbentries20
1 files changed, 0 insertions, 20 deletions
diff --git a/bin/fixdbentries b/bin/fixdbentries
deleted file mode 100755
index d15ffb62d..000000000
--- a/bin/fixdbentries
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-# Script to adjust the contents of the DB entries after a package move.
-# Fairly straight forward... ./movedbentry 'from/here' 'to/here' /over/here
-
-VAR=$1
-NEW=$2
-SPATH=$3
-
-grep -FrZl "${VAR}" "${SPATH}" |
-sed "s#${SPATH}[^\d000]\+/CONTENTS\d000##g" |
-$XARGS -0 sed -i -e "
-s#${VAR}\$#${NEW}#g;
-s#${VAR}\([[:space:]]\)#${NEW}\1#g;
-s#${VAR}\(-[^a-zA-Z]\)#${NEW}\1#g;
-s#${VAR}\([^a-zA-Z0-9-]\)#${NEW}\1#g
-"