From 7a4e37e10c1af790fedc24e5b994e52030a6afd8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 7 Jul 2008 02:11:27 +0000 Subject: Record prior version --- tmp/pre_upgrade_command | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmp') diff --git a/tmp/pre_upgrade_command b/tmp/pre_upgrade_command index 829303e..65c0c1d 100644 --- a/tmp/pre_upgrade_command +++ b/tmp/pre_upgrade_command @@ -1,3 +1,6 @@ #!/bin/sh +# Record the previous version +PRIOR_VERSION=`uname -r | cut -d'.' -f1` +echo $PRIOR_VERSION > /tmp/pre_upgrade_version -- cgit v1.1