aboutsummaryrefslogtreecommitdiffstats
path: root/misc/31upgrade/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'misc/31upgrade/pkg-install')
-rw-r--r--misc/31upgrade/pkg-install5
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