blob: caf4ed361cf9d969e9449d9faeb37d96b1b4c995 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
#
# $FreeBSD$
#
if [ -z "$OSVERSION" ]; then
if [ -x /sbin/sysctl ]; then
OSVERSION=`/sbin/sysctl -n kern.osreldate`
else
OSVERSION=`/usr/sbin/sysctl -n kern.osreldate`
fi
fi
case $2 in
INSTALL)
if [ %%OSVERSIONCHK%% ]; then
echo "$1: Your base pkg_install tools are already up-to-date."
exit 1
fi
;;
esac
|