JacobDev1 / xl-converter

Easy-to-use image converter for modern formats. Supports multithreading, drag 'n drop, and downscaling.
https://codepoems.eu/xl-converter
Other
167 stars 5 forks source link

Linux installer does not work #36

Closed frague59 closed 4 months ago

frague59 commented 4 months ago

Hi,

The linux installer does not work, due to a mistake in the install.sh script

install.sh: line 64 : [: == : unary operator expected

To fix it, just on line 64:

     if [ $choice == "1" ]; then

by

     if [ $choice = "1" ]; then

Save, installs runs now...

JacobDev1 commented 4 months ago

Hi,

thanks for pointing this out. The fix will appear in the next update.

The installer worked on all distros I've tested, so I haven't noticed it up until now.

If anyone is facing this issue, wrap $choice in double quotes.

if [ "$choice" == "1" ]; then