Subject | slackware 9.1 tar.gz installation |
---|---|
Author | Scott Buckham |
Post date | 2004-10-08T03:38:29Z |
I am trying to install to slackware 9.1 but the installation script
does not seem to be compatible. I have attempted what changes I thought
would be necessary and they seem to work fine.
Posinstall.sh requires:
# Slackware specific
elif [ -r /etc/slackware-version]
then
srcScript=firebird.init.d.slackware
initScript=/etc/rc.d/firebird
and firebird.init.d.slackware is basically just a refactored
firebird.init.d.generic removing the echo from the start command
(otherwise it fails) -
...
case "$1" in
start)
echo -n "Starting Firebird server: "
$FIREBIRD/bin/fbmgr -start -forever | su $FBRunUser
RETVAL=$?
;;
...
Is there any reason why echo is required in:
echo '$FIREBIRD/bin/fbmgr -start -forever' | su $FBRunUser
? I would prefer to be able to use the generic file for installation.
I am hoping that this can be included into cvs as we are wrapping the
tar.gz up in an installer for our product.
Any help would be appreciated,
Regards,
-----------------------------------------------------------------
Scott Buckham | Software Engineer | SD
AFJ Software Pty Ltd | Australia | QLD
Phone +61 7 3857 7244
Fax +61 7 3857 7266
-----------------------------------------------------------------
[Non-text portions of this message have been removed]
does not seem to be compatible. I have attempted what changes I thought
would be necessary and they seem to work fine.
Posinstall.sh requires:
# Slackware specific
elif [ -r /etc/slackware-version]
then
srcScript=firebird.init.d.slackware
initScript=/etc/rc.d/firebird
and firebird.init.d.slackware is basically just a refactored
firebird.init.d.generic removing the echo from the start command
(otherwise it fails) -
...
case "$1" in
start)
echo -n "Starting Firebird server: "
$FIREBIRD/bin/fbmgr -start -forever | su $FBRunUser
RETVAL=$?
;;
...
Is there any reason why echo is required in:
echo '$FIREBIRD/bin/fbmgr -start -forever' | su $FBRunUser
? I would prefer to be able to use the generic file for installation.
I am hoping that this can be included into cvs as we are wrapping the
tar.gz up in an installer for our product.
Any help would be appreciated,
Regards,
-----------------------------------------------------------------
Scott Buckham | Software Engineer | SD
AFJ Software Pty Ltd | Australia | QLD
Phone +61 7 3857 7244
Fax +61 7 3857 7266
-----------------------------------------------------------------
[Non-text portions of this message have been removed]