aboutsummaryrefslogtreecommitdiffstats
path: root/config/tftp/tftp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'config/tftp/tftp.inc')
-rw-r--r--config/tftp/tftp.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/tftp/tftp.inc b/config/tftp/tftp.inc
index ee65f52d..8649bc22 100644
--- a/config/tftp/tftp.inc
+++ b/config/tftp/tftp.inc
@@ -109,8 +109,13 @@ function php_install_command()
}
+ if (!is_dir('/usr/local/www/packages/')) {
+ // Create the packages directory
+ exec("mkdir /usr/local/www/packages/");
+ }
+
if (!is_dir('/usr/local/www/packages/tftp')) {
- // Create the directory
+ // Create the tftp directory
exec("mkdir /usr/local/www/packages/tftp");
}