From 7c747e729aa9301e555d3283b8097d0f22c8f6b7 Mon Sep 17 00:00:00 2001 From: Matteo Rossini Date: Mon, 17 Jan 2022 18:51:19 +0100 Subject: [PATCH] small issue trying to clean cache directory --- src/slackpkgplus.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slackpkgplus.sh b/src/slackpkgplus.sh index 4530227..5354ce0 100755 --- a/src/slackpkgplus.sh +++ b/src/slackpkgplus.sh @@ -2249,7 +2249,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then CACHEDOWNLOADER=$DOWNLOADER CACHEDIR=$WORKDIR/cache mkdir -p $CACHEDIR - find $CACHEDIR -mtime +30 -exec rm -f {} \; + find $CACHEDIR -mtime +30 -type f -exec rm -f {} \; DOWNLOADER="cached_downloader" fi