remove key initialize in i386
[framework/appfw/aul-1.git] / debian / libaul-1.postinst
1 #!/bin/sh
2
3 mkdir -p /opt/dbspace
4 sqlite3 /opt/dbspace/.mida.db < /opt/share/mida_db.sql
5 rm -rf /opt/share/mida_db.sql
6
7 if [ "${USER}" = "root" ]
8 then
9         chown root:root /usr/lib/libaul.so.0.1.0
10         chown root:5000 /opt/dbspace/.mida.db
11         chown root:5000 /opt/dbspace/.mida.db-journal
12 fi
13
14 chmod 644 /usr/lib/libaul.so.0.1.0
15 chmod 664 /opt/dbspace/.mida.db
16 chmod 664 /opt/dbspace/.mida.db-journal
17
18 #chmod 1777 /opt/share/miregex  # Set directory to be writable for other accounts