Skip to content
Snippets Groups Projects
Commit 3fb53509 authored by Marius Burkard's avatar Marius Burkard
Browse files

- fixed issue bug template

- added version cropping to installer
parent bd9fb579
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,7 @@ insert the output of `nginx -v` or `apachectl -v` here ...@@ -18,7 +18,7 @@ insert the output of `nginx -v` or `apachectl -v` here
insert the output of `php -v` here insert the output of `php -v` here
``` ```
## propsed fix ## proposed fix
optional, of course. optional, of course.
if you want to post code snippets, please use if you want to post code snippets, please use
``` ```
...@@ -34,3 +34,8 @@ if you know of a forum post on howtoforge.com that deals with this topic, just a ...@@ -34,3 +34,8 @@ if you know of a forum post on howtoforge.com that deals with this topic, just a
## screenshots ## screenshots
optional, of course. optional, of course.
Add screenshots of the problem by clicking "Attach a file" on the bottom right. Add screenshots of the problem by clicking "Attach a file" on the bottom right.
## log entries
```
apache / nginx error.log lines (if related)
```
\ No newline at end of file
...@@ -90,6 +90,9 @@ function get_distname() { ...@@ -90,6 +90,9 @@ function get_distname() {
$ver = explode(" ", $ver, 2); $ver = explode(" ", $ver, 2);
$ver = reset($ver); $ver = reset($ver);
$mainver = $ver; $mainver = $ver;
$mainver = explode('.', $ver);
$mainver = array_filter($mainver);
$mainver = current($mainver).'.'.next($mainver);
} }
switch ($mainver){ switch ($mainver){
case "17.04": case "17.04":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment