diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2018-11-21 14:15:32 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2018-11-21 14:15:32 +0000 |
commit | de661a4c1f96d96f0fc549b0c49f88b399c511ca (patch) | |
tree | 5b805be7356754a1647fde0bf1111715c5b21dd7 /pkgtools | |
parent | 7e01fab37b9114b13d31d216401eedb4125d3268 (diff) | |
download | pkgsrc-de661a4c1f96d96f0fc549b0c49f88b399c511ca.tar.gz |
When failing to install due to OS version mismatch, also print how to override this check.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/osabi/INSTALL | 3 |
1 files changed, 2 insertions, 1 deletions
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 ;; |