| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# This library is part of the FirebirdSQL project |
| 4 |
# |
| 5 |
# This library is free software; you can redistribute it and/or |
| 6 |
# modify it under the terms of the GNU Lesser General Public |
| 7 |
# License as published by the Free Software Foundation; either |
| 8 |
# version 2.1 of the License, or (at your option) any later version. |
| 9 |
# You may obtain a copy of the Licence at |
| 10 |
# http://www.gnu.org/licences/lgpl.html |
| 11 |
# |
| 12 |
# As a special exception this file can also be included in modules |
| 13 |
# with other source code as long as that source code has been |
| 14 |
# released under an Open Source Initiative certificed licence. |
| 15 |
# More information about OSI certification can be found at: |
| 16 |
# http://www.opensource.org |
| 17 |
# |
| 18 |
# This module is distributed in the hope that it will be useful, |
| 19 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 20 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 21 |
# GNU Lesser General Public Licence for more details. |
| 22 |
# |
| 23 |
# This module was created by members of the firebird development |
| 24 |
# team. All individual contributions remain the Copyright (C) of |
| 25 |
# those individuals and all rights are reserved. Contributors to |
| 26 |
# this file are either listed below or can be obtained from a CVS |
| 27 |
# history command. |
| 28 |
# |
| 29 |
# Created by: Mark O'Donohue <[email protected]> |
| 30 |
# |
| 31 |
# Contributor(s): |
| 32 |
# |
| 33 |
# |
| 34 |
|
| 35 |
# Install script for Firebird database engine |
| 36 |
# http://www.firebirdsql.org |
| 37 |
|
| 38 |
InteractiveInstall=1 |
| 39 |
export InteractiveInstall |
| 40 |
|
| 41 |
if [ "$1" != "install-embedded" ] |
| 42 |
then |
| 43 |
checkInstallUser |
| 44 |
fi |
| 45 |
|
| 46 |
BuildVersion=@FIREBIRD_VERSION@.@FB_BUILD_NUM@ |
| 47 |
PackageVersion=@FIREBIRD_PACKAGE_VERSION@ |
| 48 |
CpuType=@CPU_TYPE@ |
| 49 |
|
| 50 |
Version="$BuildVersion-$PackageVersion.$CpuType" |
| 51 |
|
| 52 |
|
| 53 |
cat <<EOF |
| 54 |
|
| 55 |
Firebird $Version Installation |
| 56 |
|
| 57 |
EOF |
| 58 |
|
| 59 |
|
| 60 |
|
| 61 |
AskQuestion "Press Enter to start installation or ^C to abort" |
| 62 |
|
| 63 |
|
| 64 |
# Here we are installing from a install tar file |
| 65 |
|
| 66 |
if [ -e scripts ] |
| 67 |
then |
| 68 |
echo "Extracting install data" |
| 69 |
runAndCheckExit "./scripts/preinstall.aix.sh $@" |
| 70 |
runAndCheckExit "./scripts/tarinstall.aix.sh $@" |
| 71 |
runAndCheckExit "./scripts/postinstall.aix.sh $@" |
| 72 |
fi |
| 73 |
|
| 74 |
echo "Install completed" |
| 75 |
|