summaryrefslogtreecommitdiff
path: root/pkgtools/libkver/INSTALL
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/libkver/INSTALL')
-rw-r--r--pkgtools/libkver/INSTALL12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgtools/libkver/INSTALL b/pkgtools/libkver/INSTALL
new file mode 100644
index 00000000000..8e39a5ea3e0
--- /dev/null
+++ b/pkgtools/libkver/INSTALL
@@ -0,0 +1,12 @@
+# $NetBSD: INSTALL,v 1.1 2003/12/13 17:45:59 seb Exp $
+
+HAS_SYSCTL=@HAS_SYSCTL@
+
+case ${STAGE} in
+POST-INSTALL)
+ if ${HAS_SYSCTL}; then
+ ${MV} /sbin/sysctl /sbin/sysctl.pre-${PKGBASE} && \
+ ${CP} -p ${PKG_PREFIX}/sbin/sysctl /sbin/sysctl && \
+ ${ECHO} "/sbin/sysctl has been moved as /sbin/sysctl.pre-${PKGBASE}"
+ fi
+esac