Commit bb320159 authored by AlmAck's avatar AlmAck
Browse files

remove the '+' in the .order list line if present

the '+' is used by external scripts to pkgrel++ the package without touching the sums or pkgver
parent 21506f49
......@@ -143,6 +143,12 @@ function list_packages() {
local comment_re="^[:blank:]*#"
[[ $_line =~ $comment_re ]] && continue
# lines that starts with '+' are used by the update scripts
# to identify that this pkg requires only a pkrel++
# we need to remove the '+' and build it normally
local pkgrel_re="^[:blank:]*\+"
[[ $_line =~ $pkgrel_re ]] && $_line = "${_line//+}"
PACKAGES+=("${_line}")
done
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment