--- builds/install/arch-specific/freebsd/install.sh.in.orig Fri Mar 4 22:43:39 2005 +++ builds/install/arch-specific/freebsd/install.sh.in Mon Apr 25 19:36:50 2005 @@ -55,13 +55,6 @@ InstallFirebirdPrefix=@prefix@ InstallPrefix=${InstallFirebirdPrefix%/firebird} -if [ -d $InstallFirebirdPrefix ]; then - if [ -d $InstallPrefix/firebird.old ]; then - rm -rf $InstallPrefix/firebird.old - fi - cp -Rp $InstallFirebirdPrefix $InstallPrefix/firebird.old -fi - if [ `id -u` -ne 0 ]; then echo; echo "You must be root to run this step!"; echo; echo exit 1 @@ -113,7 +106,6 @@ mkdir -p $DestDir mkdir $DestDir/bin -mkdir $DestDir/examples mkdir $DestDir/help mkdir $DestDir/include mkdir $DestDir/intl @@ -143,18 +135,6 @@ #cp $BuiltFBDir/bin/CSrestoreRootRunUser.sh $DestDir/bin #cp $BuiltFBDir/bin/changeDBAPassword.sh $DestDir/bin -# Copy examples only if we have them - -exampleFiles=`find $BuiltFBDir/examples/v5 -type f -print` -if [ -z "$exampleFiles" ]; then - echo "Example files have not been built!" -else - for i in $exampleFiles - do - cp $i $DestDir/examples - done -fi - copyIfExists $BuiltFBDir/help/help.gbak $DestDir/help cp $BuiltFBDir/help/help.fdb $DestDir/help @@ -276,32 +256,12 @@ # make databases writable by firebird only # local database connections are not a good idea -chmod ug=rw,o= examples/*.fdb chmod ug=rw,o= help/*.fdb # install the samples if they don't exist [ -f aliases.conf ] || install -o firebird -g firebird -m 440 aliases.conf.sample aliases.conf [ -f firebird.conf ] || install -o firebird -g firebird -m 440 firebird.conf.sample firebird.conf [ -f security2.fdb ] || install -o firebird -g firebird -m 660 security2.fdb.sample security2.fdb - -# remove any existing gds service -cp /etc/services /etc/services.old -cp /etc/inetd.conf /etc/inetd.conf.old -cat /etc/services |grep -v gds_db >/etc/services.new -cat /etc/inetd.conf |grep -v gds_db >/etc/inetd.conf.new -mv /etc/services.new /etc/services -mv /etc/inetd.conf.new /etc/inetd.conf - -# add the gds service and restart inetd -cat >>/etc/services <>/etc/inetd.conf <