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 +