Skip to content

Commit 5e43b35

Browse files
author
Till Brehm
committed
Add requirement for patch command.
1 parent 1c0b121 commit 5e43b35

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

install/install.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@
9797
die('We will stop here. There is already a ISPConfig installation, use the update script to update this installation.');
9898
}*/
9999

100+
if(!is_installed('patch')) die('The patch command is missing. Install patch command and start installation again.');
101+
100102
//** Get distribution identifier
101103
$dist = get_distname();
102104

install/update.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@
9898
die('This software cannot be installed on a server wich runs ISPConfig 2.x.');
9999
}
100100

101+
if(!is_installed('patch')) die('The patch command is missing. Install patch command and start installation again.');
102+
101103
//** Get distribution identifier
102104
$dist = get_distname();
103105

0 commit comments

Comments
 (0)