summaryrefslogtreecommitdiffstats
path: root/abs/core/ncid/ncid.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/ncid/ncid.install')
-rw-r--r--abs/core/ncid/ncid.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/abs/core/ncid/ncid.install b/abs/core/ncid/ncid.install
new file mode 100644
index 0000000..e000b3b
--- /dev/null
+++ b/abs/core/ncid/ncid.install
@@ -0,0 +1,17 @@
+
+post_install() {
+
+ mysql -u root -e 'create database ncid;'
+ echo installing the default database
+ mysql ncid < /tmp/ncid.sql
+ mysql < /tmp/ncidpermissions.sql
+ rm /tmp/ncid.sql
+ rm /tmp/ncidpermissions.sql
+}
+post_upgrade() {
+ echo "nothing to do"
+}
+
+op=$1
+shift
+$op $*