posixLibrary.sh.in (Firebird-3.0.2.32703-0.tar.bz2) | : | posixLibrary.sh.in (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 219 | skipping to change at line 219 | |||
haveLibrary $libName || missingLibrary $libName | haveLibrary $libName || missingLibrary $libName | |||
} | } | |||
#------------------------------------------------------------------------ | #------------------------------------------------------------------------ | |||
# Make sure we have required libraries installed | # Make sure we have required libraries installed | |||
checkLibraries() { | checkLibraries() { | |||
if [ "@TOMBUILD@" != "Y" ] | if [ "@TOMBUILD@" != "Y" ] | |||
then | then | |||
checkLibrary tommath | checkLibrary tommath | |||
fi | fi | |||
checkLibrary icudata | ||||
} | } | |||
#------------------------------------------------------------------------ | #------------------------------------------------------------------------ | |||
# resetInetdServer | # resetInetdServer | |||
# Works for both inetd and xinetd | # Works for both inetd and xinetd | |||
resetInetdServer() { | resetInetdServer() { | |||
pid=`grepProcess "inetd|xinetd" | awk '{print $2}'` | pid=`grepProcess "inetd|xinetd" | awk '{print $2}'` | |||
if [ "$pid" ] | if [ "$pid" ] | |||
then | then | |||
skipping to change at line 281 | skipping to change at line 283 | |||
# make [x]inetd reload configuration | # make [x]inetd reload configuration | |||
resetInetdServer | resetInetdServer | |||
} | } | |||
#------------------------------------------------------------------------ | #------------------------------------------------------------------------ | |||
# grep process by name | # grep process by name | |||
grepProcess() { | grepProcess() { | |||
processList=$1 | processList=$1 | |||
eol=\$ | eol=\$ | |||
ps $psOptions | egrep "\<($processList)($eol|[[:space:]])" | grep -v grep | ps $psOptions | egrep "\<($processList)($eol|[[:space:]])" | grep -v grep | grep -v -w '\-path' | |||
} | } | |||
#------------------------------------------------------------------------ | #------------------------------------------------------------------------ | |||
# check if it is running | # check if it is running | |||
checkIfServerRunning() { | checkIfServerRunning() { | |||
if [ "$1" != "install-embedded" ] | if [ "$1" != "install-embedded" ] | |||
then | then | |||
stopSuperServerIfRunning | stopSuperServerIfRunning | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 3 lines changed or added |