mirror of
https://github.com/zuno/slackpkgplus
synced 2024-12-25 09:58:47 +01:00
Give a chance to disable the packages cache purge.
This commit is contained in:
parent
c99ebe47ac
commit
6f3d5ed425
1 changed files with 1 additions and 1 deletions
|
@ -2107,7 +2107,7 @@ if [ "$SLACKPKGPLUS" = "on" ];then
|
|||
touch $WORKDIR/install.log
|
||||
fi
|
||||
|
||||
if [ -e $TEMP ];then
|
||||
if [ -e $TEMP ]&&[ -z "$PURGECACHE" ];then
|
||||
# clean cache from packages without gpg signature
|
||||
find $TEMP ! -type d|sort|tac|awk '{if($1~/\.asc$/)f[$1]++;if($1~/\.t.z$/ && !f[$1".asc"])print $1}' |xargs -r rm -f
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue