Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
awit-dbackup
awit-dbackup
Commits
c8ce82ca
Commit
c8ce82ca
authored
Jun 15, 2015
by
Nigel Kukard
Browse files
In Debian we have a -$revision version, support that too
parent
9ca3fb59
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbackup
View file @
c8ce82ca
...
@@ -1602,8 +1602,8 @@ sub getNumericVer
...
@@ -1602,8 +1602,8 @@ sub getNumericVer
{
{
my $a = shift;
my $a = shift;
# 000 000 000
# 000 000 000
- 000
my @a = split(/\./,$a);
my @a = split(/
[
\.
\-]
/,$a);
# Quick fix for devel versions
# Quick fix for devel versions
$a[2] = 0 if ($a[2] eq "x");
$a[2] = 0 if ($a[2] eq "x");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment