Closed
Bug 76223
Opened 24 years ago
Closed 21 years ago
The mozilla installer script should be runnable from absolute/relative path
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: girish.manwani, Assigned: dprice)
References
Details
(Whiteboard: alecf to checkin)
Attachments
(4 files)
981 bytes,
patch
|
Details | Diff | Splinter Review | |
868 bytes,
patch
|
Details | Diff | Splinter Review | |
660 bytes,
patch
|
Details | Diff | Splinter Review | |
697 bytes,
patch
|
Details | Diff | Splinter Review |
Currently the mozilla-installer is run by doing the foloowing ..
cd /directory/of/installer
./mozilla-installer
the user should be able to do the following
/directory/of/installer/mozilla-installer
to install the application
Comment 1•24 years ago
|
||
Reassiginging to Girish. I'd like to review the patch. Thanks.
Assignee: ssu → girish.manwani
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•24 years ago
|
QA Contact: gemal → gbush
Reporter | ||
Comment 2•24 years ago
|
||
Reporter | ||
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
r=sgehani
Reporter | ||
Comment 5•24 years ago
|
||
sr= needed for mozilla-installer patch to be runnable from amywhere and also
check for DISPLAY environment variable before launching. patch fixes 76223 and
76224.
Reporter | ||
Updated•24 years ago
|
OS: Solaris → Linux
Comment 7•24 years ago
|
||
I don't think we should be checking for DISPLAY - the toolkit already does the
check, why should we do our own check?
Reporter | ||
Comment 8•24 years ago
|
||
why should you load the binary/libraries etc. at all ?? This is an environment
setting and i think the correct behaviour is to check for this setting before
loading the binary itself and if the test fails inform the user. Since it is an
enhancement & relatively trivial i thought might as well put it in(actual bug
no. 76224) with the bug fix for 76223. thanks
Comment 9•24 years ago
|
||
because the binary already checks for it, and outputs an error. Why put it in
the script? we don't check to make sure the profile directory exists either,
because the binary checks for us..
it simply adds unnecessary complexity to this startup script
Reporter | ||
Comment 10•24 years ago
|
||
Alec if thats how you feel .. i can't really do much :)... In my opinion this is
really a no brainer, it does not seem that the script gets really a lot more
complicated it is just an additional env. variable check. More so i believe it
is always better to be as self-sufficient as possible(especially in case of
installers).
Comment 11•24 years ago
|
||
Girish,
I think what Alec is saying here is that the DISPLAY check really adds no value
since the user will see a GDK error, anyways, if the display can't be opened.
Now, if on the other hand you found DISPLAY was not set and tried some sensible
default (don't know what would be considered senseible: maybe DISPLAY=:0.0) then
this check may be worth it. What does the 'mozilla' shell script do?
I concur with Alec: please change the script to either set DISPLAY to a sensible
default or to not check it at all. Thanks.
Comment 12•24 years ago
|
||
if DISPLAY is not set, then no X applications will work, and no other X
applications that I know of will try :0.0 either, so we should do NOTHING with
the DISPLAY environment variable. Why this obsession over DISPLAY? We don't
check for HOME in the script, and the binary will barf if that's not set, or is
set incorrectly..
Reporter | ||
Comment 13•24 years ago
|
||
Thanx for clarifying samir. Even the 'mozilla' shell script does not check for
it .. relies on the toolkit. If alec/samir you think it is worth checking
display and then setting to a default we can do that or i am happy to remove the
check. sorry for the misunderstanding.
Comment 14•24 years ago
|
||
Remove the check and r=sgehani.
Reporter | ||
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
sr=alecf
Reporter | ||
Comment 17•24 years ago
|
||
Hi samir,
could you please check this in. Also, go ahead and close 76224 as "not a bug" or
"will not fix" either ways. thanks a lot.
Reporter | ||
Comment 18•24 years ago
|
||
samir/alecf can one of you please check this in. thanks.
Reporter | ||
Comment 19•24 years ago
|
||
Comment 20•24 years ago
|
||
sr=alecf on that too.. I'll try to check in today.
Whiteboard: alecf to checkin
Reporter | ||
Comment 21•24 years ago
|
||
Thanks a lot alec !! could you please check-in 66688 too.. sr= was by you again
:)
Comment 22•24 years ago
|
||
alecf: will you be able to check in soon? Girish is young, looking for bug fix
credits anywhere he can get them. :-)
Comment 23•24 years ago
|
||
a= asa@mozilla.org for checkin to the trunk.
(on behalf of drivers)
Blocks: 83989
Reporter | ||
Comment 24•24 years ago
|
||
Fix checked in. Thanks Asa for your auick qpproval.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 25•24 years ago
|
||
Fix checked in. Thanks Asa for your quick approval.
Comment 26•24 years ago
|
||
I can verify this for mozilla build 2001072004
using command /u/gbush/path/mozilla-installer
I cannot get it to work for Netscape 6 Installer.
using the command /u/gbush/path/netscape-installer
error message is ./netscape-installer-bin: No such file or directory
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 27•24 years ago
|
||
I have reverified this on trunk build from today 07/26/2001 and it works just
fine. i could run it with a complete absolute path ...
could you please re-verify this grace ? thanx
Reporter | ||
Comment 28•23 years ago
|
||
No longer working on Mozilla.
Assignee: girish.manwani → ssu
Status: REOPENED → NEW
QA Contact: gbush → gemal
Updated•23 years ago
|
QA Contact: gemal → ktrina
Comment 30•23 years ago
|
||
dprice is on sabitcal. moving to next milestone.
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Comment 31•23 years ago
|
||
only nsbeta1+ bugs can have milestones, resetting to ---
Target Milestone: mozilla0.9.9 → ---
Comment 32•21 years ago
|
||
this was FIXED a long time ago.
resolving as such.
Status: NEW → RESOLVED
Closed: 24 years ago → 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•