diff options
-rwxr-xr-x | upgpkg | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ # I place this script in the public domain. -VERSION=0.5 +VERSION=0.6 # from makepkg unset ALL_OFF BOLD BLUE GREEN RED YELLOW @@ -100,7 +100,7 @@ if [[ $(vercmp $1 $pkgver) -le 0 ]]; then warn "New version (%s) older or equal to current %s" "$1" "$pkgver" fi -sed -i "s/pkgver=.*$/pkgver=$1/g" PKGBUILD +sed -i "s/pkgver=.*$/pkgver=$_newpkgver/g" PKGBUILD sed -i "s/pkgrel=.*$/pkgrel=1/g" PKGBUILD makepkg -g || exit 1 # replace the first checksum line with all checksums, remove all other checksums |