8123c90701
Commit for package making related files for FreeBSD and Solaris. These files are supposed to be in repository to not loose track and update them as needed. I will update them soon for upcoming release where we support Solaris on ib fabric also. Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
14 lines
283 B
Bash
14 lines
283 B
Bash
#!/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
|