Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
ISPConfig 3
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ISPConfig
ISPConfig 3
Commits
7d8d3735
Commit
7d8d3735
authored
6 years ago
by
Till Brehm
Browse files
Options
Downloads
Patches
Plain Diff
Limit patch requieremnt to servers with amavisd-new
parent
5e43b353
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
install/install.php
+2
-1
2 additions, 1 deletion
install/install.php
install/update.php
+2
-1
2 additions, 1 deletion
install/update.php
with
4 additions
and
2 deletions
install/install.php
+
2
−
1
View file @
7d8d3735
...
@@ -97,7 +97,8 @@ require_once 'lib/classes/tpl.inc.php';
...
@@ -97,7 +97,8 @@ require_once 'lib/classes/tpl.inc.php';
die('We will stop here. There is already a ISPConfig installation, use the update script to update this installation.');
die('We will stop here. There is already a ISPConfig installation, use the update script to update this installation.');
}*/
}*/
if
(
!
is_installed
(
'patch'
))
die
(
'The patch command is missing. Install patch command and start installation again.'
);
// Patch is required to reapir latest amavis versions
if
(
is_installed
(
'amavisd-new'
)
&&
!
is_installed
(
'patch'
))
die
(
'The patch command is missing. Install patch command and start installation again.'
);
//** Get distribution identifier
//** Get distribution identifier
$dist
=
get_distname
();
$dist
=
get_distname
();
...
...
This diff is collapsed.
Click to expand it.
install/update.php
+
2
−
1
View file @
7d8d3735
...
@@ -98,7 +98,8 @@ if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) {
...
@@ -98,7 +98,8 @@ if(is_dir('/root/ispconfig') || is_dir('/home/admispconfig')) {
die
(
'This software cannot be installed on a server wich runs ISPConfig 2.x.'
);
die
(
'This software cannot be installed on a server wich runs ISPConfig 2.x.'
);
}
}
if
(
!
is_installed
(
'patch'
))
die
(
'The patch command is missing. Install patch command and start installation again.'
);
// Patch is required to reapir latest amavis versions
if
(
is_installed
(
'amavisd-new'
)
&&
!
is_installed
(
'patch'
))
die
(
'The patch command is missing. Install patch command and start update again.'
);
//** Get distribution identifier
//** Get distribution identifier
$dist
=
get_distname
();
$dist
=
get_distname
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment