mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-26 09:58:43 +01:00
small issue trying to clean cache directory
This commit is contained in:
parent
4caf879812
commit
7c747e729a
1 changed files with 1 additions and 1 deletions
|
@ -2249,7 +2249,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
||||||
CACHEDOWNLOADER=$DOWNLOADER
|
CACHEDOWNLOADER=$DOWNLOADER
|
||||||
CACHEDIR=$WORKDIR/cache
|
CACHEDIR=$WORKDIR/cache
|
||||||
mkdir -p $CACHEDIR
|
mkdir -p $CACHEDIR
|
||||||
find $CACHEDIR -mtime +30 -exec rm -f {} \;
|
find $CACHEDIR -mtime +30 -type f -exec rm -f {} \;
|
||||||
DOWNLOADER="cached_downloader"
|
DOWNLOADER="cached_downloader"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue