fixed bug, find files to purge
This commit is contained in:
parent
4e08250390
commit
9007cb72d4
@ -325,7 +325,7 @@ EOF
|
||||
|
||||
# determinte max version to delete
|
||||
local limit
|
||||
local pn_limit=`echo ${PN} | sed "s/\./_/g"`
|
||||
local pn_limit=`echo ${PN} | sed "s/[\.\-]/_/g"`
|
||||
eval "`echo limit=\\$\\{OPSI_REPOS_PURGE_LIMIT_${pn_limit}\\}`"
|
||||
if [ -z "$limit" ] || [ ! `expr $limit + 1 2>/dev/null` ] ; then
|
||||
limit=${OPSI_REPOS_PURGE_LIMIT}
|
||||
|
Loading…
Reference in New Issue
Block a user