From de661a4c1f96d96f0fc549b0c49f88b399c511ca Mon Sep 17 00:00:00 2001 From: jmcneill Date: Wed, 21 Nov 2018 14:15:32 +0000 Subject: When failing to install due to OS version mismatch, also print how to override this check. --- pkgtools/osabi/INSTALL | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkgtools') diff --git a/pkgtools/osabi/INSTALL b/pkgtools/osabi/INSTALL index 166c914e4ba..9ba2ecdcd3b 100644 --- a/pkgtools/osabi/INSTALL +++ b/pkgtools/osabi/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.4 2014/10/28 02:08:38 cheusov Exp $ +# $NetBSD: INSTALL,v 1.5 2018/11/21 14:15:32 jmcneill Exp $ UNAME="@UNAME@" PKG_ADMIN="@PKG_ADMIN@" @@ -38,6 +38,7 @@ PRE-INSTALL) if ${TEST} "${OS_VERSION}" != "${PKG_VERSION}" ;then echo "The Operating System version (${OS_VERSION}) does not match ${PKG_VERSION}" + echo "To force installation of this package, add CHECK_OSABI=no to pkg_install.conf" exit 1 fi ;; -- cgit v1.2.3