Skip to content

Commit a13af29

Browse files
author
Till Brehm
committed
Added copy commands for security directory to installer.
1 parent 7c27524 commit a13af29

File tree

4 files changed

+16
-0
lines changed

4 files changed

+16
-0
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,10 @@ public function install_ispconfig()
832832
//* copy the ISPConfig server part
833833
$command = "cp -rf ../server $install_dir";
834834
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
835+
836+
//* copy the ISPConfig security part
837+
$command = 'cp -rf ../security '.$install_dir;
838+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
835839

836840
//* Create a symlink, so ISPConfig is accessible via web
837841
// Replaced by a separate vhost definition for port 8080

install/dist/lib/gentoo.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -748,6 +748,10 @@ public function install_ispconfig()
748748
//* copy the ISPConfig server part
749749
$command = "cp -rf ../server $install_dir";
750750
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
751+
752+
//* copy the ISPConfig security part
753+
$command = 'cp -rf ../security '.$install_dir;
754+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
751755

752756

753757
//* Create the config file for ISPConfig interface

install/dist/lib/opensuse.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,10 @@ public function install_ispconfig()
904904
//* copy the ISPConfig server part
905905
$command = "cp -rf ../server $install_dir";
906906
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
907+
908+
//* copy the ISPConfig security part
909+
$command = 'cp -rf ../security '.$install_dir;
910+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
907911

908912
//* Create a symlink, so ISPConfig is accessible via web
909913
// Replaced by a separate vhost definition for port 8080

install/lib/installer_base.lib.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,6 +1744,10 @@ public function install_ispconfig() {
17441744
//* copy the ISPConfig server part
17451745
$command = 'cp -rf ../server '.$install_dir;
17461746
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
1747+
1748+
//* copy the ISPConfig security part
1749+
$command = 'cp -rf ../security '.$install_dir;
1750+
caselog($command.' &> /dev/null', __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
17471751

17481752
//* Create a symlink, so ISPConfig is accessible via web
17491753
// Replaced by a separate vhost definition for port 8080

0 commit comments

Comments
 (0)