Skip to content

Commit 5b921e9

Browse files
committed
Fix for Ubuntu 16.04 (Xenial)
1 parent dc7aa08 commit 5b921e9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

install/lib/install.lib.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ function get_distname() {
8282
$relname = "(" . trim(trim($relname), "()") . ")";
8383
$distname = 'Ubuntu';
8484
$ver = reset($ver);
85-
$distid = 'debian40';
85+
if($ver == "16.04") {
86+
$distid = 'ubuntu1604';
87+
} else {
88+
$distid = 'debian40';
89+
}
8690
$distbaseid = 'debian';
8791
$distver = $ver . $lts . " " . $relname;
8892
swriteln("Operating System: " . $distver . "\n");

0 commit comments

Comments
 (0)