[arch-commits] Commit in openssh/trunk (install)
Gaetan Bisson
bisson at nymeria.archlinux.org
Thu May 16 04:13:17 UTC 2013
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.
More information about the arch-commits
mailing list