Bug 1221772

Summary: error while installing package "helix"
Product: [openSUSE] openSUSE Distribution Reporter: Giacomo Comes <comes>
Component: OtherAssignee: Soc Virnyl Estela <uncomfy+openbuildservice>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Leap 15.5   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Giacomo Comes 2024-03-20 16:25:52 UTC
When I install the package helix I get this error message:
/var/tmp/rpm-tmp.yQA4MG: line 1: [: -l: unary operator expected

This is caused by the preinstall scriptlet:
if [ -l "/usr/lib64/helix/runtime" ] ; then
    rm -f "/usr/lib64/helix/runtime"
fi

The problem has already been fixed by the package maintainer:
https://build.opensuse.org/package/show/editors/helix?rev=60

It is just a matter to apply the change to Leap 15.5 and 15.6.