diff options
author | Erich Eckner <git@eckner.net> | 2019-02-12 09:18:02 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-02-12 09:18:02 +0100 |
commit | d6e299f9dc42aded07ed1871f4cbcddde5036b3e (patch) | |
tree | 2be583671fe9393a3bac135c882c7214eace7f01 /bumpPerl | |
parent | ebb987535050f398ea8210d8cc21dd40bf329d3c (diff) | |
download | archlinuxewe-d6e299f9dc42aded07ed1871f4cbcddde5036b3e.tar.xz |
bumpPython, bumpPerl: use bumpPkgrel
Diffstat (limited to 'bumpPerl')
-rwxr-xr-x | bumpPerl | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -15,10 +15,7 @@ perlMinor="${perlMinor%%.*}" for pkgbuild in perl-*/PKGBUILD demeter/PKGBUILD; do - pkgrel="$( - sed -n "/^pkgrel='\?[0-9]\+'\?\$/{s@^pkgrel='\?\([0-9]\+\)'\?\$@\1@;p}" "${pkgbuild}" - )" - sed -i "s@^\(pkgrel=\)'\?[0-9]\+'\?\$@\1'$[${pkgrel}+1]'@" "${pkgbuild}" + ./bumpPkgrel -n "${pkgbuild%/PKGBUILD}" sed -i ' /^depends=(/{ :a |