kernel-source/check-build.sh

11 lines
238 B
Bash
Raw Normal View History

#!/bin/bash
# Copyright (c) 2005 SUSE Linux Products GmbH, Germany. All rights reserved.
if grep -q "Linux version 2\.[0-5]\." /proc/version; then
echo "FATAL: kernel too old, need kernel >= 2.6 for this package"
exit 1
fi
exit 0