LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 01-10-2008, 12:27 AM   #1
jachguate
LQ Newbie
 
Registered: Jan 2008
Location: Guatemala
Distribution: debian
Posts: 7

Rep: Reputation: 0
script to install firebird database in debian and not die on the road


Hi.

If you're having problems to install and run firebird in debian, you can get a script to install firebird in debian (Spanish site).

I'm the author of the post and the script. Please, fell free to send feedback about it.

I'm too interested to know if someone has a success story using the official packages.

Cheers.
 
Old 01-10-2008, 05:45 PM   #2
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,675

Rep: Reputation: 122Reputation: 122
Looks OK to me. Out of curiosity: why are to cd-ing to /root? Apt-get and aptitude work fine from any directory. Next: you use apt-get. Nothing wrong with that, but aptitude is the preferred tool for installing and upgrading in Etch. You could expand the script to use the users locale setting to offer the text in the echo statement in the prefered language. That way your script can be useful (read as: understandable) for non-Spanish speakers too

Good work, keep up!
 
Old 01-10-2008, 06:12 PM   #3
jachguate
LQ Newbie
 
Registered: Jan 2008
Location: Guatemala
Distribution: debian
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Dutch Master View Post
Looks OK to me. Out of curiosity: why are to cd-ing to /root? Apt-get and aptitude work fine from any directory.
I know... it's a mistake, I will update the script to avoid this (bad) thing. Please, answer me about localization, (next^2).

Quote:
Originally Posted by Dutch Master View Post
Next: you use apt-get. Nothing wrong with that, but aptitude is the preferred tool for installing and upgrading in Etch.
I have no idea of that (the preferred thing), and I feel comfortable with apt-get.

Quote:
Originally Posted by Dutch Master View Post
You could expand the script to use the users locale setting to offer the text in the echo statement in the prefered language. That way your script can be useful (read as: understandable) for non-Spanish speakers too
How can I do that?

[sarcastic]
On the other hand... non-English-speaker people are most of the time learning English because the error messages (and often the entire applications) are available only in this language. Some Spanish splash is Ok sometimes
[/sarcastic]

Quote:
Originally Posted by Dutch Master View Post
Good work, keep up!
Thanks, I will.
 
Old 01-10-2008, 07:09 PM   #4
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,675

Rep: Reputation: 122Reputation: 122
You'll find the installed locale in /etc/locale.gen and use that to build in an option to select a specific langauge the echo statement is displayed. I'm not familiar on how to make such a large number of options available in a script, but I imagine it to be like this:
Code:
if $(locale) != en then check for es, fr, de, nl, else echo "you'll need to be root to use this script" endif
But then understandable for bash

The Debian dev's state that aptitude is so much better then apt-get in conflict resolving, they advise strongly in using aptitude over apt-get. That means that users who use aptitude cannot use your script as this may cause conflict with aptitude. I suggest to mention the usage of apt-get in your script, allowing aptitude users to either change the script to match their use of package management (which comes down to changing all references to apt-get into aptitude) or don't use it altogether. But, it's your script
 
  


Reply

Tags
debian, firebird


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Firebird database Configuration LXer Syndicated Linux News 0 05-07-2006 07:33 PM
LXer: Open source must die die die LXer Syndicated Linux News 0 01-28-2006 08:16 PM
LXer: Latest Firebird Relational Database Released (Pre Final) LXer Syndicated Linux News 0 12-23-2005 07:31 PM
Firebird Database!?? FreakboY Slackware 1 04-03-2005 11:18 PM
Firebird emails to MySQL database ? Horos23 Linux - Software 1 02-03-2005 06:53 AM


All times are GMT -5. The time now is 09:32 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration