mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 18:43:02 +01:00
Moved less-specific test down to the end of list, should help with distro detection on elbrus linux
This commit is contained in:
parent
df23e506d4
commit
a3ca34253d
@ -283,16 +283,9 @@ installInitdScript() {
|
||||
srcScript=""
|
||||
initScript=
|
||||
|
||||
# This is for RH and MDK specific
|
||||
|
||||
if [ -e /etc/rc.d/init.d/functions ]
|
||||
then
|
||||
srcScript=firebird.init.d.mandrake
|
||||
initScript=/etc/rc.d/init.d/${fb_startup_name}
|
||||
|
||||
# SuSE specific
|
||||
|
||||
elif [ -r /etc/SuSE-release ]
|
||||
if [ -r /etc/SuSE-release ]
|
||||
then
|
||||
srcScript=firebird.init.d.suse
|
||||
initScript=/etc/init.d/${fb_startup_name}
|
||||
@ -331,6 +324,13 @@ EOF
|
||||
srcScript=firebird.init.d.gentoo
|
||||
initScript=/etc/init.d/${fb_startup_name}
|
||||
|
||||
# This is for RH and MDK specific
|
||||
|
||||
elif [ -e /etc/rc.d/init.d/functions ] # very generic check - may be should go later to avoid fault mandrake detection ???
|
||||
then
|
||||
srcScript=firebird.init.d.mandrake
|
||||
initScript=/etc/rc.d/init.d/${fb_startup_name}
|
||||
|
||||
# Generic...
|
||||
|
||||
elif [ -d /etc/rc.d/init.d ]
|
||||
|
Loading…
Reference in New Issue
Block a user