#!/bin/sh
# preinst script for qutim
#
# see: dh_installdeb(1)
Q=`run-standalone.sh zenity --question --text="You agreed to the license for emoticons. You can read here full text of the license: /opt/qutim/share/apps/qutim/emoticons" --height=200 --ok-label=Ok; echo $?`

if [ "$Q" = "0" ]; then
      # install the custom things
      exit 0
else
      # do not install the custom things
      exit 1
fi

exit 0


