aboutsummaryrefslogtreecommitdiffstats
path: root/checkupdate.sh
diff options
context:
space:
mode:
authorM.Gergo2020-03-25 01:21:04 +0100
committerM.Gergo2020-03-25 01:21:04 +0100
commitdaf7f5f3d337c1fdf0dbe884c028ba4943b6fd97 (patch)
tree843f79cd734c3a98527e50f8d0b57181189c8b60 /checkupdate.sh
parent4cba41696a27f776305c67d637de1e6b77015bcd (diff)
downloadmayor-daf7f5f3d337c1fdf0dbe884c028ba4943b6fd97.tar.gz
mayor-daf7f5f3d337c1fdf0dbe884c028ba4943b6fd97.zip
checkupdate
Diffstat (limited to 'checkupdate.sh')
-rwxr-xr-xcheckupdate.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/checkupdate.sh b/checkupdate.sh
index c12d0799..f5e84388 100755
--- a/checkupdate.sh
+++ b/checkupdate.sh
@@ -8,6 +8,8 @@ pd=$(pwd)
if [ "$nrev" -gt "$orev" ]; then
+ git checkout MaYor-dev
+
wget http://www.mayor.hu/download/current/rev.txt -O rev.txt
wget http://www.mayor.hu/download/current/md5sum -O mayor-orig/md5sum
@@ -34,7 +36,7 @@ if [ "$nrev" -gt "$orev" ]; then
git commit -a -m "Rev: $nrev"
git tag -a "rev$nrev" -m "Rev: $nrev"
-
+ git checkout master
fi