rm distclean
authorFelix Bechstein <f@ub0r.de>
Thu, 26 Feb 2009 14:56:23 +0000 (26 15:56 +0100)
committerFelix Bechstein <f@ub0r.de>
Thu, 26 Feb 2009 14:56:23 +0000 (26 15:56 +0100)
app-portage/distclean/Manifest [deleted file]
app-portage/distclean/distclean-2.ebuild [deleted file]
app-portage/distclean/files/distclean-2 [deleted file]

diff --git a/app-portage/distclean/Manifest b/app-portage/distclean/Manifest
deleted file mode 100644 (file)
index fb6909a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-AUX distclean-2 495 RMD160 1c47b60590bffb72d2b347a0f1f07da16d7424ac SHA1 17bf60cce37565631d135ec5b6c5fa333899c980 SHA256 b1516c55f6d40f14122a33cf1761ba00d8aaba7970924861b128f68ba65399b2
-EBUILD distclean-2.ebuild 341 RMD160 d0675d3b551767099570793a70c859def442a73a SHA1 99d72640a2a329e965c105dbb6fb46b4a750b726 SHA256 079201897af20b4cd44e801a9fc0229b57954a27ab92be13ac5b63b25022620d
diff --git a/app-portage/distclean/distclean-2.ebuild b/app-portage/distclean/distclean-2.ebuild
deleted file mode 100644 (file)
index 36c5382..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-DESCRIPTION="remove old files from distfiles"
-HOMEPAGE="/dev/null"
-SRC_URI=""
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND="app-shells/bash"
-
-src_install() {
-       newbin ${FILESDIR}/${P} ${PN}
-}
diff --git a/app-portage/distclean/files/distclean-2 b/app-portage/distclean/files/distclean-2
deleted file mode 100755 (executable)
index 201f070..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/bash
-
-DISTDIR=/usr/portage/distfiles
-
-echo -n "current size: "
-du -sh "${DISTDIR}" | cut -f1
-
-FILELIST=$(ls -1 "${DISTDIR}" | sed -e 's/-[0-9].*//' -e 's/_[0-9].*//' | sort -u)
-
-for file in $FILELIST ; do
-       num=$(ls -1d ${DISTDIR}/${file}* 2> /dev/null | wc -l)
-       if [ $num -gt 1 ] ; then
-               num=$(($num - 1))
-               ls -1d ${DISTDIR}/${file}* | head -n ${num} | xargs -n1 rm
-       fi
-       #echo keep $(ls -1d ${DISTDIR}/${file}* | tail -n1)
-done
-
-
-echo -n "current size: "
-du -sh "${DISTDIR}" | cut -f1