freebsd-ports/misc/222upgrade/pkg-install
Satoshi Asami ff9f1c323f (1) Move /var/db/pkg/.mkversion to /var/db/port.mkversion.
Requested by:	jkh

(2) Don't let user pkg_delete the "upgrade kits".
Requested by:	Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>
1999-04-21 04:59:59 +00:00

6 lines
105 B
Bash

#!/bin/sh
if [ "$2" != "PRE-INSTALL" ]; then
exit 0
fi
echo %%VERSION%% > /var/db/port.mkversion