From d5b3298fe82661b0c4e5b7eb645bc850a0a19e6f Mon Sep 17 00:00:00 2001 From: "D. V. Serg" Date: Tue, 1 Apr 2008 10:34:02 +0000 Subject: Update fix 'pkg delete' --- packages/lightsquid/.project | 11 +++++++++++ packages/lightsquid/lightsquid.inc | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 packages/lightsquid/.project 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 @@ + + + lightsquid + + + + + + + + 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); -- cgit v1.2.3