Skip to content

Commit 650d1f3

Browse files
author
Till Brehm
committed
Changed defaults for unrecognized Ubuntu versions to 16.04 and for unrecognized Debian versions to Debian 9.
1 parent 04af09a commit 650d1f3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

install/lib/install.lib.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ function get_distname() {
178178
break;
179179
default:
180180
$relname = "UNKNOWN";
181+
$distconfid = 'ubuntu1604';
181182
}
182183
$distver = $ver.$lts." ".$relname;
183184
swriteln("Operating System: ".$distname.' '.$distver."\n");
@@ -228,7 +229,8 @@ function get_distname() {
228229
} else {
229230
$distname = 'Debian';
230231
$distver = 'Unknown';
231-
$distid = 'debian40';
232+
$distid = 'debian60';
233+
$distconfid = 'debian90';
232234
$distbaseid = 'debian';
233235
swriteln("Operating System: Debian or compatible, unknown version.\n");
234236
}

0 commit comments

Comments
 (0)