summarylogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
authorBen Alex2017-07-06 14:20:33 +1000
committerBen Alex2017-07-06 14:20:33 +1000
commitecfc22bc1c4023eee024960e82bafe25afdc5e1c (patch)
treea6ebda455bacce081d733b41db47f5e78e13e77f /update
parentbbdbecf0fa0e84bc2061ea939f5ebd7f1a278001 (diff)
downloadaur-ecfc22bc1c4023eee024960e82bafe25afdc5e1c.tar.gz
Commit from upload script due to new version
Diffstat (limited to 'update')
-rwxr-xr-xupdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/update b/update
index 441e876190c..db3c811099e 100755
--- a/update
+++ b/update
@@ -40,6 +40,7 @@ else
cd $SCRIPT_HOME
rm -rf *.jar *.xz *.gz tws-latest-standalone-*.sh pkg src
sed -i "s/pkgver=.*/pkgver=${VER}/" PKGBUILD
+ sed -i "s/pkgrel=.*/pkgrel=1/" PKGBUILD
# Next line from https://bugs.archlinux.org/task/15051
{ rm PKGBUILD; awk '$0 ~ /^md5sums/ {i = 1; system("makepkg -g 2>/dev/null")}; !i {print}; $0 ~ /\)/ {i = 0}' > PKGBUILD; } < PKGBUILD
makepkg