Index: openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql	31 Jan 2003 16:17:54 -0000	1.10
+++ openacs-4/packages/acs-kernel/sql/oracle/acs-install.sql	18 Feb 2003 20:53:45 -0000	1.11
@@ -11,6 +11,7 @@
 declare
     node_id    site_nodes.node_id%TYPE;
     main_site_id site_nodes.node_id%TYPE;
+    segment_id rel_segments.segment_id%TYPE;
     schema_user   varchar2(100);
     jobnum        integer;
 begin 
@@ -35,6 +36,21 @@
     privilege => 'read'
   );
 
+  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;
+
+  segment_id := rel_segment.new(
+    segment_name => 'Main Site Members',
+    group_id => -2,
+    rel_type => 'membership_rel'
+  );
+
   select user into schema_user from dual;
 
   dbms_job.submit (
