summarylogtreecommitdiffstats
path: root/checkupdate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'checkupdate.sh')
-rwxr-xr-xcheckupdate.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/checkupdate.sh b/checkupdate.sh
index a9afbc225f01..bc177df8dece 100755
--- a/checkupdate.sh
+++ b/checkupdate.sh
@@ -14,7 +14,7 @@ hash=$(sha256sum Guilded-Linux.deb | awk '{ print $1 }')
ar x Guilded-Linux.deb
tar xzf control.tar.gz
-version=$(awk '/^Version:/ { print $2 }' control | cut -d '-' -f1)
+version=$(awk '/^Version:/ { print $2 }' control | cut -d '-' -f1 | sed s/~release//)
echo "--------------------"
echo "sha256sum: $hash"
@@ -26,4 +26,4 @@ else
fi
echo "--------------------"
-rm -rf $TMP_PATH \ No newline at end of file
+rm -rf $TMP_PATH