Skip to content

Commit

Permalink
also strip last dot release for alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
nxadm committed Nov 21, 2017
1 parent a35bb67 commit 203cbc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/pkg_rakudo.pl
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
}
chomp $os;
chomp $os_release;
if ($os eq 'CentOS') {
if ($os eq 'CentOS' or $os eq 'Alpine') {
$os_release =~ s/^(\d+\.\d+).+/$1/; # Short OS release (7.2.1234 -> 7.2)
}

Expand Down

0 comments on commit 203cbc1

Please sign in to comment.