Debian Codegraph @

debian/patches/dsa/check_running_kernel_allow_tilde

raw
1 --- a/dsa/checks/dsa-check-running-kernel
2 +++ b/dsa/checks/dsa-check-running-kernel
3 @@ -207,7 +207,7 @@
4 if [ -x /usr/bin/lsb_release ] ; then
5 vendor=$(lsb_release -i -s)
6 if [ -n "$vendor" ] && [ "xDebian" != "x$vendor" ] ; then
7 - on_disk_version=$( echo $on_disk_version|sed -e "s/ ($vendor [[:alnum:]\.-]\+ [[:alnum:]\.-]\+)//")
8 + on_disk_version=$( echo $on_disk_version|sed -e "s/ ($vendor [[:alnum:]\.~-]\+ [[:alnum:]\.~-]\+)//")
9 fi
10 fi
11 [ -z "$on_disk_version" ] || continue