[Linux] "lsb_release" requirement

Discuss new features and functions
Posts: 2
Joined: 21 Apr 2020

ginn

Hello,

I use FreeFileSync from a long time and noticed that starting from the 10.23 release, "lsb_release" is required on Linux.
For information, "lsb_release" is not installed by default on all Linux distributions (For instance, Fedora, Arch Linux, ...) This makes FreeFileSync crashing if this tool is not available with an error message saying to reinstall FreeFileSync.


The recommended way to fix this issue is to rely on "/etc/os-release" instead of "lsb_release" (That can still be used as fall-back). "/etc/os-release" is a standard and is now used on a wide majority of distribution. It is a simple text file to parse.


Until fixed, Fedora/CentOS/RHEL users requires to install the "redhat-lsb-core" to fix this issue.
Posts: 309
Joined: 7 Jan 2018

bgstack15

Yes, if possible, please make this functionality skip any errors about lack of lsb_release and similar!
Posts: 2
Joined: 21 Apr 2020

ginn

Thanks for the fix !