2 echo "Checking SunOS revision..."
3 MINOR=`/bin/uname -r | /bin/cut -d "." -f 2`
4 if [ ${MINOR} -lt %%OSMINOR%% ]; then
5 echo "This package was created on Solaris %%OSVERSION%%, and will probably"
6 echo " not function correctly on older versions of Solaris."
7 echo "** Unable to continue. **"
10 echo "\t...revision okay."
12 echo "Checking for existing SSH installation..."
13 if [ -f /etc/sshd_config -o -f /usr/local/etc/sshd_config ]; then
16 if [ -f /etc/ssh_host_key -o -f /usr/local/etc/ssh_host_key ]; then
20 if [ ${UPDATE} -eq 1 ]; then
21 echo "Performing an \"update\" installation of %%PKGNAME%%"
23 echo "Performing a \"fresh\" installation of %%PKGNAME%%"
27 # We derive these at install time in case the package is relocated.
28 CONFDIR="${BASEDIR}/etc"
29 DESTBIN="${BASEDIR}/bin"
31 # make parameters available to installation service, and
32 # so to any other packaging scripts