Date: Thursday, May 16, 2013 @ 06:13:16
  Author: bisson
Revision: 185618

fix upgrade version check

Modified:
  openssh/trunk/install

---------+
 install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: install
===================================================================
--- install     2013-05-16 04:10:18 UTC (rev 185617)
+++ install     2013-05-16 04:13:16 UTC (rev 185618)
@@ -1,5 +1,5 @@
 post_upgrade() {
-       if [[ $2 -lt 6.2p2 ]]; then
+       if [[ $(vercmp $2 6.2p2) = -1 ]]; then
                cat <<EOF
 
 ==> The sshd daemon has been moved to /usr/bin alongside all binaries.

Reply via email to