1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/misc/221upgrade/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