Commit 0fd0d656 authored by Marius Burkard's avatar Marius Burkard
Browse files

- fixed ubuntu packages

parent 4ac92959
......@@ -30,12 +30,15 @@ class ISPConfigDebian10OS extends ISPConfigDebianOS {
}
protected function getPackagesToInstall($section) {
$packages = parent::getPackagesToInstall($section);
if($section === 'mail') {
$packages = parent::getPackagesToInstall($section);
$packages[] = 'p7zip';
$packages[] = 'p7zip-full';
$packages[] = 'unrar';
$packages[] = 'unrar-free';
$packages[] = 'lrzip';
} elseif($section === 'base') {
$packages[] = 'jailkit';
}
return $packages;
......
......@@ -36,7 +36,14 @@ deb http://security.ubuntu.com/ubuntu focal-security multiverse
}
protected function getPackagesToInstall($section) {
if($section === 'base') {
$packages = parent::getPackagesToInstall($section);
if($section === 'mail') {
$packages[] = 'p7zip';
$packages[] = 'p7zip-full';
$packages[] = 'unrar-free';
$packages[] = 'lrzip';
} elseif($section === 'base') {
$packages = array(
'php-pear',
'php-memcache',
......@@ -45,10 +52,9 @@ deb http://security.ubuntu.com/ubuntu focal-security multiverse
'imagemagick',
'libruby',
'memcached',
'php-apcu'
'php-apcu',
'jailkit'
);
} else {
$packages = parent::getPackagesToInstall($section);
}
return $packages;
......
Supports Markdown
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