From 3cca5e72c88d1c19d8cdfb6a16a1d034f8ccea4d Mon Sep 17 00:00:00 2001 From: tonnesen Date: Fri, 16 Aug 2002 21:02:09 +0000 Subject: [PATCH] branchrelations fix needed to be done in two places... --- Install.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Install.pm b/Install.pm index 152a198bbe..0d4313a432 100644 --- a/Install.pm +++ b/Install.pm @@ -1146,6 +1146,8 @@ sub databasesetup { $branchcode=substr($branchcode,0,4); system("$mysqldir/bin/mysql -u$::mysqluser -p$::mysqlpass $::dbname -e \"insert into branches (branchcode,branchname,issuing) values ('$branchcode', '$branch', 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')\""); my $printername='Library Printer'; $printername=showmessage(getmessage('PrinterName', [$printername]), 'free', $printername, 1); -- 2.39.5