head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2010.05.19.12.45.53;	author rm;	state Exp;
branches;
next	1.2;

1.2
date	2010.05.18.16.56.08;	author rm;	state Exp;
branches;
next	1.1;

1.1
date	2010.05.18.16.55.29;	author rm;	state Exp;
branches;
next	;


desc
@@


1.3
log
@*** empty log message ***
@
text
@#!/bin/sh
# postinst script for rawkeybind
#
# see: dh_installdeb(1)

set -e

# summary of how this script can be called:
#        * <postinst> `configure' <most-recently-configured-version>
#        * <old-postinst> `abort-upgrade' <new version>
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
#          <new-version>
#        * <postinst> `abort-remove'
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
#          <failed-install-package> <version> `removing'
#          <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package


case "$1" in
    configure)
		chown root:root /usr/bin/rawkeybind
		chmod u+s /usr/bin/rawkeybind
		echo "#!/bin/sh" > /etc/X11/Xsession.d/99rawkeybind
		echo "rawkeybind -f" >> /etc/X11/Xsession.d/99rawkeybind
		chmod a+rx /etc/X11/Xsession.d/99rawkeybind
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
@


1.2
log
@*** empty log message ***
@
text
@d25 3
@


1.1
log
@Initial revision
@
text
@d23 2
a24 1
		chown root:root
@
