Subversion Repositories crystalcursors

Compare Revisions

Ignore whitespace Rev 11 → Rev 10

/trunk/debian/postinst
1,5 → 1,5
#! /bin/sh
# postinst script for crystalcursors
# postinst script for #PACKAGE#
#
# see: dh_installdeb(1)
 
22,12 → 22,16
ICONDIR=/etc/X11/cursors
 
case "$1" in
configure|abort-remove|abort-deconfigure|abort-upgrade)
configure)
for theme in `find $ICONDIR -regex '.*crystal\(blue\|gray\|green\|white\).*theme$'`; do
update-alternatives --install $TARGET x-cursor-theme $theme $PRIORITY
done
;;
 
abort-upgrade|abort-remove|abort-deconfigure)
 
;;
 
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
40,3 → 44,5
#DEBHELPER#
 
exit 0