[util-iso] proper kernel 42 detection

- see also: #180
This commit is contained in:
Philip 2016-02-06 10:20:39 +01:00
parent ffe0251a39
commit caaed7b3f9

View file

@ -467,7 +467,7 @@ load_pkgs(){
| sed "$_purge_rm" \
| sed "$_kernel" \
| sed "$_clean")
[[ ${_used_kernel} <= "42" ]] && packages_cleanup="$packages_cleanup xf86-video-amdgpu"
[[ ${_used_kernel} < "42" ]] && packages_cleanup="$packages_cleanup xf86-video-amdgpu"
fi
}