| skipped 107 lines |
108 | 108 | | ;; |
109 | 109 | | esac |
110 | 110 | | ;; |
111 | | - | #TODO: Add Fedora, RedHat and other distros, although their info about patches is very poor |
| 111 | + | fedora) |
| 112 | + | [ -r "/etc/os-release" ] && distro_release=$(grep -E '^VERSION_ID=' /etc/os-release | cut -f2 -d=) |
| 113 | + | case "$distro_release" in |
| 114 | + | 34) |
| 115 | + | package_fixed="0.117-3.fc34.2" |
| 116 | + | ;; |
| 117 | + | 35) |
| 118 | + | package_fixed="0.120-1.fc35.1" |
| 119 | + | ;; |
| 120 | + | esac |
| 121 | + | ;; |
| 122 | + | #TODO: Add RedHat and other distros, although their info about patches is very poor |
112 | 123 | | esac |
113 | 124 | | if [ -n "$package_fixed" ] && [ -n "$package_version" ] && ! lse_is_version_bigger "$package_fixed" "$package_version"; then |
114 | 125 | | # Not Vulnerable |
| skipped 6 lines |