index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-10-28 22:20:09 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-10-28 22:20:09 -0500 |
commit | cd51abf0c8d04c72cc85b28cd45b33b9020c661e (patch) | |
tree | 18955197d51d579f319792fe473ef1df13dbf175 /scripts/makepkg.sh.in | |
parent | 2e431e1cc3c9bb445ea886521117f483e78aa84a (diff) | |
parent | a63aeed562c8bdd6604ec50e6a4b684f6edabda3 (diff) |
-rw-r--r-- | scripts/makepkg.sh.in | 4 |
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index ff05e481..266e214f 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1083,6 +1083,7 @@ devel_check() { if [ "$newpkgver" != "" ]; then msg2 "$(gettext "Version found: %s")" "$newpkgver" pkgver=$newpkgver + pkgrel=1 fi else @@ -1102,8 +1103,9 @@ devel_update() { # _foo=pkgver # if [ "$newpkgver" != "" ]; then - if [ "newpkgver" != "$pkgver" ]; then + if [ "$newpkgver" != "$pkgver" ]; then sed -i "s/^pkgver=[^ ]*/pkgver=$newpkgver/" ./$BUILDSCRIPT + sed -i "s/^pkgrel=[^ ]*/pkgrel=1/" ./$BUILDSCRIPT source $BUILDSCRIPT fi fi |