Bug 3010 - Problem with setup.sh
Status: ASSIGNED
Alias: None
Product: Loki Setup
Classification: Unclassified
Component: General
Version: unspecified
Hardware: PC Linux
: P2 critical
Assignee: St
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2007-01-21 07:21 EST by kratz00
Modified: 2007-01-21 14:42:37 EST
0 users

See Also:


Attachments
Patch (923 bytes, patch)
2007-01-21 07:21 EST, kratz00

Description kratz00 2007-01-21 07:21:19 EST
For example if you cancel the installation while the installer is copying the files or there is another error (e.g. the file from the binary tag is missing) the  exit code is '3'. If you you was running the gtk2 installer setup.sh would launch the gtk installer and if the exit code is '3' again it would launch the console installer so one.
Comment 1 kratz00 2007-01-21 07:21:39 EST
Created attachment 1239 [details]
Patch
Comment 2 St 2007-01-21 14:42:37 EST
Exit codes have been a long-standing problem, and the solution is not always that simple. I'll see if this patch works well.