/trunk/debian/postinst |
---|
1,5 → 1,5 |
#! /bin/sh |
# postinst script for #PACKAGE# |
# postinst script for crystalcursors |
# |
# see: dh_installdeb(1) |
22,16 → 22,12 |
ICONDIR=/etc/X11/cursors |
case "$1" in |
configure) |
configure|abort-remove|abort-deconfigure|abort-upgrade) |
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 |
44,5 → 40,3 |
#DEBHELPER# |
exit 0 |