From b8830760dda6a94319d66abf6a333acab9e5550d Mon Sep 17 00:00:00 2001 From: tonnesen Date: Fri, 16 Aug 2002 21:01:20 +0000 Subject: [PATCH] Added 'IS' and 'CU' flags for default MAIN branch. --- Install.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Install.pm b/Install.pm index f9ceae0192..152a198bbe 100644 --- a/Install.pm +++ b/Install.pm @@ -1122,6 +1122,8 @@ sub databasesetup { system("cat sampledata-1.2 | $mysqldir/bin/mysql -u$::mysqluser -p$::mysqlpass $::dbname"); system("gzip -9 sampledata-1.2"); system("$mysqldir/bin/mysql -u$::mysqluser -p$::mysqlpass $::dbname -e \"insert into branches (branchcode,branchname,issuing) values ('MAIN', 'Main Library', 1)\""); + system("$mysqldir/bin/mysql -u$::mysqluser -p$::mysqlpass $::dbname -e \"insert into branchrelations (branchcode,categorycode) values ('MAIN', 'IS')\""); + system("$mysqldir/bin/mysql -u$::mysqluser -p$::mysqlpass $::dbname -e \"insert into branchrelations (branchcode,categorycode) values ('MAIN', 'CU')\""); system("$mysqldir/bin/mysql -u$::mysqluser -p$::mysqlpass $::dbname -e \"insert into printers (printername,printqueue,printtype) values ('Circulation Desk Printer', 'lp', 'hp')\""); showmessage(getmessage('SampleDataInstalled'), 'PressEnter'); } else { -- 2.39.5