Bug 27961

Summary: Syntax error in the file /etc/profile.d/60qt5.sh of package qtbase5-common-5.15.2-2.mga8.
Product: Mageia Reporter: PC LX <mageia>
Component: RPM PackagesAssignee: Nicolas Lécureuil <mageia>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: qtbase5-5.15.2-2.mga8.src.rpm CVE:
Status comment:

Description PC LX 2020-12-28 15:39:21 CET
Description of problem:

When running bash, the following error messages are displayed.

$ LANGUAGE=C bash
bash: /etc/profile.d/60qt5.sh: line 17: syntax error near unexpected token `fi'
bash: /etc/profile.d/60qt5.sh: line 17: `fi'
$ rpm -qf /etc/profile.d/60qt5.sh
qtbase5-common-5.15.2-2.mga8
$ rpm -V $(rpm -qf /etc/profile.d/60qt5.sh)


This can be fixed by commenting the line 17 with the lone "fi".



Version-Release number of selected component (if applicable):

qtbase5-common-5.15.2-2.mga8



How reproducible:

Always.



Steps to Reproduce:
1. Install the package qtbase5-common-5.15.2-2.mga8, if not installed yet.
2. Run bash.
3. See the above mentioned error messages.
Comment 1 PC LX 2020-12-28 15:41:38 CET
Referring to comment 1.

System: Mageia 8, x86_64, Plasma DE, LXQt DE, Intel CPU, nVidia GPU using nvidia-current proprietary driver.
Comment 2 David Walser 2020-12-28 19:31:05 CET
Should be fixed in qtbase5-5.15.2-4.mga8.

Assignee: bugsquad => mageia
Status: NEW => RESOLVED
Resolution: (none) => FIXED