summaryrefslogtreecommitdiffstats
path: root/abs/mv-core/ncid/ncid.install
blob: e000b3b5aa820c404e5e8e9ebf44979faac8372a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 $*