blob: bbc05a1bd7b4163ba3e2b7e4c1d20894fc3f9cd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
#
expected_platform="i386"
#
release=`uname -r`
platform=`uname -p`
#
if [ ${platform} != ${expected_platform} ]; then
echo "\n\n\n\tThis package must be installed on a ${expected_platform} architecture\n"
echo "\tAborting installation.\n\n\n"
exit 1
fi
exit 0
|