#!/bin/sh
cd /media/mmcblk0p1/Programs/_install

export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
/bin/cp -f ./etc/gconf/schemas/xournal.schemas /etc/gconf/schemas/xournal.schemas
gconftool-2 --makefile-install-rule /etc/gconf/schemas/xournal.schemas
/bin/cp -f ./usr/share/ctb/icon-xournal-medium.png /usr/share/ctb/icon-xournal-medium.png
/bin/cp -f ./usr/share/ctb/icon-xournal-mini.png /usr/share/ctb/icon-xournal-mini.png
/bin/cp -f ./usr/share/ctb/icon-xournal-small.png /usr/share/ctb/icon-xournal-small.png
/bin/chmod a-x /usr/share/ctb/icon-xournal-*

/sbin/reboot
sleep 31
