From 1c8e994e1e3be065e850bd712b68d6833c8bc8a2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Aug 2017 16:52:57 +0100 Subject: removing everything from cache at once seems to cause problems, so trigger removal for each package at a time --- conf/intel/portage/bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/intel/portage/bashrc b/conf/intel/portage/bashrc index e11ca1c..10499a6 100644 --- a/conf/intel/portage/bashrc +++ b/conf/intel/portage/bashrc @@ -19,6 +19,6 @@ pkg_postinst() { export local PORTDIRDEV=$(find /usr/portage -maxdepth 0 -printf "%D") export local PKGDIRDEV=$(find /usr/portage/packages -maxdepth 0 -printf "%D") if [ $PORTDIRDEV = $PKGDIRDEV ]; then - rm -rf /usr/portage/packages/* + rm -rf /usr/portage/packages/"${CATEGORY}"/"${P}"*.tbz2 fi } -- cgit v1.2.3