101108152753_22-nexc-db.patch 789 Bytes
Newer Older
ole's avatar
ole committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
--- 22-nexc-db.orig	2010-11-08 15:08:04.180803538 +0545
+++ 22-nexc-db	2010-11-08 15:08:20.795803060 +0545
@@ -61,7 +61,7 @@
 if [ -f "nexc-fez.sql" ]; then
 	sql_import nexc-fez.sql fez && touch /.nexc-fez-db
 	echo "
-		UPDATE fez_config SET config_value='' WHERE config_id='100';
+		UPDATE fez_config SET config_value='schoolserver' WHERE config_id='100';
 		UPDATE fez_config SET config_value='/fez/' WHERE config_id='99';
 		UPDATE fez_config SET config_value='localhost:9090/fedora' WHERE config_name='app_fedora_location';
 	" | mysql -u root fez
@@ -75,3 +75,6 @@
 	sql_import nexc-wiktionary-interwiki.sql wiktionary && touch /.nexc-wiktionary-interwiki-db
 fi
 
+if [ -f "nexc-video-data.sql" ]; then
+	sql_import nexc-video-data.sql video_data && touch /.nexc-video-data-db
+fi