Fix potential bashism from rpmlint

OBS-URL: https://build.opensuse.org/package/show/editors/helix?expand=0&rev=3
This commit is contained in:
Soc Virnyl Estela 2022-04-21 05:15:46 +00:00 committed by Git OBS Bridge
parent 8144732fde
commit f90996ddb9

View File

@ -1,6 +1,6 @@
#!/bin/sh
if [ "$USER" == "root" ]
if [ "$USER" = "root" ]
then
HELIX_RUNTIME=/usr/lib64/helix/runtime exec /usr/lib64/helix/hx "$@"
else