Mailinglist Archive: opensuse-bugs (7176 mails)
| < Previous | Next > |
[Bug 327523] fetchmsttfonts.sh is marked as installed although it failed
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Wed, 30 Jan 2008 02:46:43 -0700 (MST)
- Message-id: <20080130094643.31FC524538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=327523
User angelo.compagnucci@xxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=327523#c29
Angelo Compagnucci <angelo.compagnucci@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|
|angelo.compagnucci@xxxxxxxxx
Status|RESOLVED |REOPENED
Resolution|FIXED |
Version|RC 1 |Final
--- Comment #29 from Angelo Compagnucci <angelo.compagnucci@xxxxxxxxx>
2008-01-30 02:46:42 MST ---
Hi to all!
I reopened the bug cause I found a programming error in fetchmsttfonts.sh .
At line 122-123 the script has:
cabextract -l $file &> /dev/null
if [ $? -ne 0 ]; then
In this way $? is always 1 on a slow or busy cpu. The "if" should wait the
cabextract end of execution to retrive the exit code.
So the "success" variable at line 129 is set to true only in case the last cab
is successfully extracted (random condition).
So, this is the patch:
cabextract -l $file > /dev/null
if [ $? -ne 0 ]; then
I've attacched the patch.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User angelo.compagnucci@xxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=327523#c29
Angelo Compagnucci <angelo.compagnucci@xxxxxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|
|angelo.compagnucci@xxxxxxxxx
Status|RESOLVED |REOPENED
Resolution|FIXED |
Version|RC 1 |Final
--- Comment #29 from Angelo Compagnucci <angelo.compagnucci@xxxxxxxxx>
2008-01-30 02:46:42 MST ---
Hi to all!
I reopened the bug cause I found a programming error in fetchmsttfonts.sh .
At line 122-123 the script has:
cabextract -l $file &> /dev/null
if [ $? -ne 0 ]; then
In this way $? is always 1 on a slow or busy cpu. The "if" should wait the
cabextract end of execution to retrive the exit code.
So the "success" variable at line 129 is set to true only in case the last cab
is successfully extracted (random condition).
So, this is the patch:
cabextract -l $file > /dev/null
if [ $? -ne 0 ]; then
I've attacched the patch.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |