https://bugs.kde.org/show_bug.cgi?id=496619

--- Comment #4 from Nicofo <nic...@tuxfamily.org> ---
Hello Maik,

I tried with last version of appimage. It still does not work.
Reason is that the $OS_VERSION is empty instead of being "41" in my case.

Line 59 of AppRun is:
    OS_VERSION=$(awk -F'"' '$1 ~ /^VERSION_ID/ {print $2}' /etc/*-release | tr
-d '.')
which indeed results in empty string for Fedora.
Reason: see the output of cat /etc/os-release in comment #0:
VERSION_ID=41
(and not VERSION_ID="41")

So you could change line 59 with these 2 lines for example:
    OS_VERSION=$(awk -F'"' '$1 ~ /^VERSION_ID/ {print $2}' /etc/*-release | tr
-d '.')
    [ -z "${OS_VERSION}" ] && OS_VERSION=$(awk -F'=' '$1 ~ /^VERSION_ID/ {print
$2}' /etc/*-release | tr -d '.')

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to