From ee450be424a255dbe26dc38936bb26751bfc31ee Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 12 Mar 2017 22:35:39 +0100 Subject: [PATCH] Try to fix clean_pbin.bash --- hooks/ebuild_postinst_post/clean_pbin.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/ebuild_postinst_post/clean_pbin.bash b/hooks/ebuild_postinst_post/clean_pbin.bash index 5ea7ec9..a4ad9a0 100644 --- a/hooks/ebuild_postinst_post/clean_pbin.bash +++ b/hooks/ebuild_postinst_post/clean_pbin.bash @@ -14,7 +14,7 @@ if [[ ${CAVE_PERFORM_CMDLINE_destination} == ${reponame} ]] ; then $(for pkg in "${repo}/packages/${CATEGORY}/${PN}/"*".pbin-1+exheres-0" ; do . "${pkg}" ; basename "${BINARY_URI}" ; done) ) - for file in "${bins}"/${reponame}--${CATEGORY}--${PN}-*.tar.bz2 ; do + for file in "${bins}"/${reponame}--${CATEGORY}--${PN}-[0-9]*.tar.bz2 "${bins}"/${reponame}--${CATEGORY}--${PN}-scm-*.tar.bz2; do file=${file##*/} if ! echo "${good_files[@]}" | grep -q "${file}" ; then rm -vf "${bins}/${file}"