diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 2001-09-16 01:02:46 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 2001-09-16 01:02:46 +0000 |
commit | db3dca6dbd32fe6ea3d51bc037e6f9cdc66c343b (patch) | |
tree | 29d590ca0bc9e66d81bc3218a0684c2daf9d4a68 /databases/msql3/scripts/check_old_version | |
parent | Fix compilation problems. (diff) |
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_4_0'.release/4.4.0
Notes
Notes:
svn path=/head/; revision=47856
svn path=/tags/RELEASE_4_4_0/; revision=47857; tag=release/4.4.0
Diffstat (limited to 'databases/msql3/scripts/check_old_version')
-rw-r--r-- | databases/msql3/scripts/check_old_version | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/databases/msql3/scripts/check_old_version b/databases/msql3/scripts/check_old_version deleted file mode 100644 index a87d343af800..000000000000 --- a/databases/msql3/scripts/check_old_version +++ /dev/null @@ -1,32 +0,0 @@ -#!/usr/bin/perl -# -# $FreeBSD$ -# - -if( -d "/var/db/msqldb" ) { - chdir( "/var/db/pkg" ); - opendir( DIR, "." ); - @oldmsql = grep( /^msql-2.0b[1234]$/, readdir( DIR ) ); - closedir( DIR ); - if( @oldmsql ) { - if( ! $ENV{OVERWRITE_DB} ) { - print <<END; - -mSQL v2.0 beta 5 and above make changes to the AVL index format of your -databases. In order to preserve your existing data, you must: - - use msqldump to dump all your databases - - install beta 5 or above - - use msqladmin to drop and then create each of your databases - - use msql to reload your data - -If you understand the consequences of this upgrade, please re-build this -port with the environment variable OVERWRITE_DB defined. - -END - exit 1; - } - } -} - -# -# EOF |