summaryrefslogtreecommitdiffstats
path: root/checkpkgist.php
diff options
context:
space:
mode:
Diffstat (limited to 'checkpkgist.php')
-rwxr-xr-xcheckpkgist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/checkpkgist.php b/checkpkgist.php
index 021acba..fc01ae8 100755
--- a/checkpkgist.php
+++ b/checkpkgist.php
@@ -140,7 +140,7 @@ function run($name, $rpm) {
if ($rpminfo) {
$rpminfo = $rpminfo[0];
- $rpmmainver = $rpminfo['Version'];
+ $rpmmainver = str_replace('~', '', $rpminfo['Version']);
} else {
if ($quiet) {
return;