~ubuntu-branches/ubuntu/gutsy/mysql-dfsg-5.0/gutsy-proposed

« back to all changes in this revision

Viewing changes to debian/mysql-server.preinst

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2007-04-27 16:03:02 UTC
  • Revision ID: james.westby@ubuntu.com-20070427160302-gp3teonw93l6ja75
Tags: 5.0.38-3build1
Fake sync from Debian. All Ubuntu changes are in Debian, but we have a
md5sum mismatch on the orig.tar.gz.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
 
134
134
################################ main() ##########################
135
135
 
 
136
# Check kernel version
 
137
if dpkg --compare-versions `uname -r` lt 2.6; then
 
138
  /bin/echo -e "\nPROBLEM: MySQL-5.x is currently incompatible with kernel 2.4. Aborting.";
 
139
  /bin/echo -e "See http://bugs.debian.org/416841 for more information.\n"
 
140
  exit 1
 
141
fi
 
142
 
136
143
# to be sure
137
144
stop_server
138
145