From 6e52053bda065f96383cdce3ec822840233bb8d8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 7 Jul 2008 02:11:33 +0000 Subject: [PATCH] Record prior version --- tmp/pre_upgrade_command | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command index 829303ea5b..4f5732afa2 100644 --- a/tmp/pre_upgrade_command +++ b/tmp/pre_upgrade_command @@ -1,3 +1,7 @@ #!/bin/sh +# Record the previous version +PRIOR_VERSION=`uname -r | cut -d'.' -f1` +echo $PRIOR_VERSION > /tmp/pre_upgrade_version +