Fix bug that caused the installed package to be included in the develversion version string
This commit is contained in:
parent
a3e96bcc58
commit
7ffc496ad4
1 changed files with 2 additions and 3 deletions
|
@ -155,7 +155,7 @@ function develversion_check() {
|
|||
# Find the current pkgver() of the package in the AUR
|
||||
package_version=$(pacaur -i "$pkg" \
|
||||
| sed -r 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' \
|
||||
| grep -E '^Version' \
|
||||
| grep -oE '^Version[^:]*: *[^ ]*' \
|
||||
| sed 's|^[^:]*: ||;s|-[0-9]*$||')
|
||||
pkgbuild_file="$package_rootdir/$pkg/PKGBUILD"
|
||||
|
||||
|
@ -363,8 +363,7 @@ done
|
|||
}
|
||||
|
||||
# Initialize the temp folder
|
||||
[[ -d "$temp_directory" ]] \
|
||||
&& rm -rf "$temp_directory"
|
||||
[[ -d "$temp_directory" ]] && rm -rf "$temp_directory"
|
||||
install -d "$temp_directory"
|
||||
|
||||
archversion_check
|
||||
|
|
Loading…
Reference in a new issue