]> git.pld-linux.org Git - packages/apt-dater.git/blame - kernel-pld-longterm.patch
R: ssh, -host R: which
[packages/apt-dater.git] / kernel-pld-longterm.patch
CommitLineData
ae5bad50
ER
1patch to find "-longterm" from "3.4.51.longterm-1"
2
3--- apt-dater-0.9.0/clients/rpm/apt-dater-host 2012-05-28 23:33:34.000000000 +0300
4+++ apt-dater-0.9.0/clients/rpm/apt-dater-host 2013-09-10 00:37:00.000000000 +0300
5@@ -155,8 +155,8 @@
6 my $ver = $version;
7 my $rel = '';
8 my $add = '';
9- $add = $1 if($version =~ /([a-z]+)$/);
10+ $add = $1 if($version =~ /([a-z]+)(?:-\d+)?$/);
11 ($ver, $rel) = ($1, $2) if($version =~ /(.+)-([^-]+)$add$/);
12
13 $add = "-$add" if($add);
14
This page took 0.058298 seconds and 4 git commands to generate.