kiss: Revert recent pkg_clean() changes
This commit is contained in:
parent
a6da44f5d3
commit
670ecb5ea9
5
kiss
5
kiss
|
@ -1454,11 +1454,10 @@ pkg_clean() {
|
||||||
# Go through the cache and add any entries which don't belong
|
# Go through the cache and add any entries which don't belong
|
||||||
# to a currently running kiss instance.
|
# to a currently running kiss instance.
|
||||||
for dir in "$cac_dir/"[bep]*-[0-9]*; do
|
for dir in "$cac_dir/"[bep]*-[0-9]*; do
|
||||||
[ -e "/proc/${dir##*-}" ] && continue
|
[ -e "/proc/${dir##*-}" ] || set -- "$@" "$dir"
|
||||||
[ -e "$dir" ] && set -- "$@" "$dir"
|
|
||||||
done
|
done
|
||||||
|
|
||||||
rm -rf -- "$@" >/dev/null 2>&1 ||:
|
rm -rf -- "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
args() {
|
args() {
|
||||||
|
|
Loading…
Reference in New Issue