File: preinst

package info (click to toggle)
raidtools 0.42-12
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 316 kB
  • ctags: 126
  • sloc: ansic: 2,046; makefile: 126; sh: 87
file content (13 lines) | stat: -rw-r--r-- 355 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/sh

set -e

kver=`uname -r`
if `dpkg --compare-versions $kver lt 2.1.63`; then
    echo "You're using a kernel version older than 2.1.63.  This package is"
    echo "not designed to work with it.  You should install the mdutils"
    echo "package instead or upgrade your kernel."
    echo -n "Press Enter to continue... "; read ans
    exit 1
fi