summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDT Netsolution GmbH <[email protected]>2012-04-23 10:13:59 (GMT)
committer DT Netsolution GmbH <[email protected]>2012-04-23 10:13:59 (GMT)
commit9007cb72d4ee2d30c68c53011281b74f631b274c (patch)
treedab530f161b996912b56e89f6674b606cf6089bc
parent4e08250390d46b479349f6dec041fc77cb19ef83 (diff)
fixed bug, find files to purge
-rw-r--r--lib/builder-targets.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/builder-targets.sh b/lib/builder-targets.sh
index c4f47f5..3ef979f 100644
--- a/lib/builder-targets.sh
+++ b/lib/builder-targets.sh
@@ -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}

Powered by Domaintechnik.at | Hosting - Domain - Webspace