diff options
author | D. V. Serg <dvserg@pfsense.org> | 2008-04-01 10:34:02 +0000 |
---|---|---|
committer | D. V. Serg <dvserg@pfsense.org> | 2008-04-01 10:34:02 +0000 |
commit | d5b3298fe82661b0c4e5b7eb645bc850a0a19e6f (patch) | |
tree | afad650a9287254f267330d53d024052fa549b7d | |
parent | ff711b065345940f435ca0456b6ae3feb2a72231 (diff) | |
download | pfsense-packages-d5b3298fe82661b0c4e5b7eb645bc850a0a19e6f.tar.gz pfsense-packages-d5b3298fe82661b0c4e5b7eb645bc850a0a19e6f.tar.bz2 pfsense-packages-d5b3298fe82661b0c4e5b7eb645bc850a0a19e6f.zip |
Update fix 'pkg delete'
-rw-r--r-- | packages/lightsquid/.project | 11 | ||||
-rw-r--r-- | packages/lightsquid/lightsquid.inc | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/packages/lightsquid/.project b/packages/lightsquid/.project new file mode 100644 index 00000000..7e6f47b6 --- /dev/null +++ b/packages/lightsquid/.project @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>lightsquid</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + </buildSpec> + <natures> + </natures> +</projectDescription> diff --git a/packages/lightsquid/lightsquid.inc b/packages/lightsquid/lightsquid.inc index 4b282b3a..fbdd1dec 100644 --- a/packages/lightsquid/lightsquid.inc +++ b/packages/lightsquid/lightsquid.inc @@ -34,7 +34,7 @@ require_once('pkg-utils.inc'); require_once('filter.inc'); require_once('service-utils.inc'); -define ('CMD_PKGDELETE', 'pkg_delete lightsquid-1.7.1_1'); +define ('CMD_PKGDELETE', 'pkg_delete lightsquid-1.7.1'); // enable GUI debug define('LS_GUI_DEBUG', 'on'); @@ -113,7 +113,7 @@ function lightsquid_deinstall() { ls_setup_cron("lightsquid_squid_rotate", "", "", false); ls_setup_cron("lightsquid_parser", "", "", false); // control shoot to head :) - mwexec(CMD_PKGDELETE); +# mwexec(CMD_PKGDELETE); // remove '/usr/local/www/lightsquid' dir - any time can't be removed by templates if (file_exists(LS_WWWPATH)) mwexec("rm -rf " . LS_WWWPATH); |