glusterfs/extras/Solaris/checkinstall
Harshavardhana 8123c90701 Commit package making files for FreeBSD and Solaris platform.
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>
2009-04-08 15:06:56 +05:30

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