diff options
Diffstat (limited to 'packages/phpservice/phpservice.inc')
-rw-r--r-- | packages/phpservice/phpservice.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/phpservice/phpservice.inc b/packages/phpservice/phpservice.inc index 8324768d..9acb7037 100644 --- a/packages/phpservice/phpservice.inc +++ b/packages/phpservice/phpservice.inc @@ -156,10 +156,6 @@ function phpservice_sync_package() global $config; phpservice_sync_package_php(); - if (!is_dir('/usr/local/www/packages/phpservice/')) { - exec("mkdir /usr/local/www/packages/phpservice/"); - } - } @@ -170,6 +166,10 @@ function php_install_command() conf_mount_rw(); config_lock(); + if (!is_dir('/usr/local/www/packages/')) { + exec("mkdir /usr/local/www/packages/"); + } + if (!is_dir('/usr/local/www/packages/phpservice/')) { exec("mkdir /usr/local/www/packages/phpservice/"); } |