Commit 3fb53509 authored by Marius Burkard's avatar Marius Burkard

- fixed issue bug template

- added version cropping to installer
parent bd9fb579
......@@ -18,7 +18,7 @@ insert the output of `nginx -v` or `apachectl -v` here
insert the output of `php -v` here
```
## propsed fix
## proposed fix
optional, of course.
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
## screenshots
optional, of course.
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() {
$ver = explode(" ", $ver, 2);
$ver = reset($ver);
$mainver = $ver;
$mainver = explode('.', $ver);
$mainver = array_filter($mainver);
$mainver = current($mainver).'.'.next($mainver);
}
switch ($mainver){
case "17.04":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment