Index: openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql,v
diff -u -r1.18 -r1.19
--- openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql	16 Feb 2003 00:02:23 -0000	1.18
+++ openacs-4/packages/acs-kernel/sql/postgresql/acs-install.sql	17 Feb 2003 15:32:53 -0000	1.19
@@ -26,31 +26,9 @@
                     acs__magic_object_id(''default_context'')
 	       );
 
-  insert into application_groups
-    (group_id, package_id)
-  values
-    (-2, main_site_id);
 
-  update acs_objects
-  set object_type = ''application_group''
-  where object_id = -2;
+  PERFORM apm_package__enable (main_site_id); 
 
-  perform rel_segment__new(
-                   null,
-                   ''rel_segment'',
-                   now(),
-                   null,
-                   null,
-                   null,
-                   null,
-                   ''Main Site Members'',
-                   -2,
-                   ''membership_rel'',
-                   null
-                 );
-
-  perform apm_package__enable (main_site_id); 
-
   node_id := site_node__new (
           null,
           null,          
@@ -62,7 +40,7 @@
           null
   );
 
-  perform acs_permission__grant_permission (
+  PERFORM acs_permission__grant_permission (
         main_site_id,
         acs__magic_object_id(''the_public''),
         ''read''
