diff options
Diffstat (limited to 'update.bash')
-rwxr-xr-x | update.bash | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/update.bash b/update.bash index 118aeb1..5be3658 100755 --- a/update.bash +++ b/update.bash @@ -93,18 +93,12 @@ function update replace '%LANG%' "$lang" replace '%LANG_A%' "$lang_a" replace '%LANG_B%' "$lang_b" - replace '%VER%' "$convver" + replace '%VER%' "$ver" replace '%LICENSES%' "${licenses[$lang]}" replace '%CHECKSUM%' "$checksum" replace_line '%CONTRS%' "${contrs[${lang}${ext}]}" normal - if [[ "$ver" == "$convver" ]] - then - delete_line '^_pkgver=\$\{pkgver\/\/_\/-\}$' - replace '_pkgver' 'pkgver' - fi - local rstring_base="${prepare[${lang}${ext}]}" local rstring rstring=$'\n'"$(sed -E 's/^/\t/' <<< "$rstring_base")"$'\n' |