Problems with "." inside PN - fixed
This commit is contained in:
parent
5f7116aaf7
commit
89edef81d0
@ -324,7 +324,8 @@ EOF
|
||||
|
||||
# determinte max version to delete
|
||||
local limit
|
||||
eval "`echo limit=\\$\\{OPSI_REPOS_PURGE_LIMIT_${PN}\\}`"
|
||||
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}
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user