Update kernel version regex for 4.x kernels
authorStuart Prescott <stuart@debian.org>
Wed, 19 Aug 2015 11:15:40 +0000 (21:15 +1000)
committerStuart Prescott <stuart@debian.org>
Wed, 19 Aug 2015 11:15:40 +0000 (21:15 +1000)
supybot/plugins/Piccy/refreshdata

index 2b0435e..7233048 100755 (executable)
@@ -59,7 +59,7 @@ ARCH="i386"
 # backports:                     linux-image-2.6.38-bpo.2-686
 # wheezy PAE (replaces -686):    linux-image-2.6.39-1-686-pae
 # wheezy 3.0:                    linux-image-3.2.0-1-686-pae
-KERNELRE='linux-image-~(2\.6\.[0-9]+~|3\.[0-9]+~(\.[0-9]+~)?~)+-~(.*bpo.~)?~(rc[0-9]~|trunk~|[0-9]+~)-686~(-pae~)?$'
+KERNELRE='linux-image-~(2\.6\.[0-9]+~|[3-4]\.[0-9]+~(\.[0-9]+~)?~)+-~(.*bpo.~)?~(rc[0-9]~|trunk~|[0-9]+~)-686~(-pae~)?$'
 # ARCH="amd64"
 # KERNELRE='linux-image-2.6.[0-9]+-[0-9]-amd64$'