Commit 4ac92959 authored by Marius Burkard's avatar Marius Burkard
Browse files

- remove gettext from ubuntu20

parent 262bc0dc
......@@ -133,6 +133,18 @@ class ISPConfigDebianOS extends ISPConfigBaseOS {
}
$packages[] = 'postgrey';
}
} elseif($section === 'base') {
$packages = array(
'php-pear',
'php-memcache',
'php-imagick',
'php-gettext',
'mcrypt',
'imagemagick',
'libruby',
'memcached',
'php-apcu'
);
}
return $packages;
......@@ -738,17 +750,7 @@ mailman-unsubscribe: "|/var/lib/mailman/mail/mailman unsubscribe mailman"';
}
}
$packages = array(
'php-pear',
'php-memcache',
'php-imagick',
'php-gettext',
'mcrypt',
'imagemagick',
'libruby',
'memcached',
'php-apcu'
);
$packages = $this->getPackagesToInstall('base');
if(ISPConfig::wantsPHP() === 'system') {
$php_versions = array($this->getSystemPHPVersion());
......
......@@ -35,6 +35,25 @@ deb http://security.ubuntu.com/ubuntu focal-security multiverse
}
}
protected function getPackagesToInstall($section) {
if($section === 'base') {
$packages = array(
'php-pear',
'php-memcache',
'php-imagick',
'mcrypt',
'imagemagick',
'libruby',
'memcached',
'php-apcu'
);
} else {
$packages = parent::getPackagesToInstall($section);
}
return $packages;
}
protected function addSuryRepo() {
ISPConfigLog::info('Activating sury php repository.', true);
......
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