Strip colours from pacaur
This commit is contained in:
parent
3aa90df14f
commit
d69d6c69f6
1 changed files with 2 additions and 1 deletions
|
@ -155,7 +155,8 @@ function develversion_check() {
|
|||
if [[ -d "$package_rootdir/$pkg" ]]; then
|
||||
# Find the current pkgver() of the package in the AUR
|
||||
package_version=$(pacaur -i "$pkg" \
|
||||
| egrep "^Version" \
|
||||
| sed -r 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' \
|
||||
| egrep '^Version' \
|
||||
| sed 's|^[^:]*: ||;s|-[0-9]*$||')
|
||||
pkgbuild_file="$package_rootdir/$pkg/PKGBUILD"
|
||||
|
||||
|
|
Loading…
Reference in a new issue