diff options
author | Mark Crane <mcrane@pfsense.org> | 2009-01-22 22:58:28 +0000 |
---|---|---|
committer | Mark Crane <mcrane@pfsense.org> | 2009-01-22 22:58:28 +0000 |
commit | 07213c013d998d5d98f6fe37a8f0004a7a3c6717 (patch) | |
tree | 93b86da0a6eb58476361611c7a8c7ed5e5546a36 | |
parent | b6e5d344ad1b6b903f2d4d3537751fca63617c16 (diff) | |
download | pfsense-packages-07213c013d998d5d98f6fe37a8f0004a7a3c6717.tar.gz pfsense-packages-07213c013d998d5d98f6fe37a8f0004a7a3c6717.tar.bz2 pfsense-packages-07213c013d998d5d98f6fe37a8f0004a7a3c6717.zip |
phpservice package work on installation take 3
-rw-r--r-- | packages/phpservice/phpservice.inc | 8 | ||||
-rw-r--r-- | packages/phpservice/phpservice.xml | 2 | ||||
-rw-r--r-- | pkg_config.7.xml | 2 |
3 files changed, 6 insertions, 6 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/"); } diff --git a/packages/phpservice/phpservice.xml b/packages/phpservice/phpservice.xml index 211e9554..68f01961 100644 --- a/packages/phpservice/phpservice.xml +++ b/packages/phpservice/phpservice.xml @@ -49,7 +49,7 @@ <tooltiptext>PHP Service settings.</tooltiptext> <section>Services</section> <configfile>phpservice.xml</configfile> - <url>/packages/phpservice_php.php</url> + <url>/packages/phpservice/phpservice_php.php</url> </menu> <service> <name>PHPService</name> diff --git a/pkg_config.7.xml b/pkg_config.7.xml index 14be7406..ad4ff644 100644 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -94,7 +94,7 @@ <pkginfolink></pkginfolink> <config_file>http://www.pfsense.com/packages/config/phpservice/phpservice.xml</config_file> <depends_on_package_base_url>http://files.pfsense.org/packages/7/All/</depends_on_package_base_url> - <version>0.2.4</version> + <version>0.2.5</version> <status>Alpha</status> <required_version>1.2.1</required_version> <maintainer>markjcrane@gmail.com</maintainer> |