Project

General

Profile

« Previous | Next » 

Revision 7eea4407

Added by Ermal LUÇI about 14 years ago

When uninstalling a service actually stop it first.

View differences:

etc/inc/pkg-utils.inc
42 42

  
43 43
require_once("globals.inc");
44 44
require_once("xmlrpc.inc");
45
require_once("service-utils.inc");
45 46
if(file_exists("/cf/conf/use_xmlreader"))
46 47
	require_once("xmlreader.inc");
47 48
else
......
324 325
		}
325 326
	}
326 327

  
328
	stop_service($pkg_name);
329

  
327 330
	$id = get_pkg_id($pkg_name);
328 331
	if ($id >= 0) {
329 332
		$pkg_depends =& $config['installedpackages']['package'][$id]['depends_on_package'];

Also available in: Unified diff