diff options
author | asami <asami@FreeBSD.org> | 1999-03-29 15:09:48 +0800 |
---|---|---|
committer | asami <asami@FreeBSD.org> | 1999-03-29 15:09:48 +0800 |
commit | 7931da6a896ef8f64aacecf5c67d6c1ffa5af05e (patch) | |
tree | 3389aeddef64feaa6154efa3ce34d1be40c7d404 /misc/31upgrade/pkg-install | |
parent | d72b5028c66e505114e3c9fddd68e2e1193ace57 (diff) | |
download | freebsd-ports-gnome-7931da6a896ef8f64aacecf5c67d6c1ffa5af05e.tar.gz freebsd-ports-gnome-7931da6a896ef8f64aacecf5c67d6c1ffa5af05e.tar.zst freebsd-ports-gnome-7931da6a896ef8f64aacecf5c67d6c1ffa5af05e.zip |
Install /var/db/pkg/.mkversion to check version against bsd.port.mk.
Change IGNORE to FORBIDDEN.
Diffstat (limited to 'misc/31upgrade/pkg-install')
-rw-r--r-- | misc/31upgrade/pkg-install | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/31upgrade/pkg-install b/misc/31upgrade/pkg-install new file mode 100644 index 000000000000..83a9f3edb0df --- /dev/null +++ b/misc/31upgrade/pkg-install @@ -0,0 +1,5 @@ +#!/bin/sh +if [ "$2" != "PRE-INSTALL" ]; then + exit 0 +fi +echo %%VERSION%% > /var/db/pkg/.mkversion |