home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- set -e
-
- case "$1" in
- configure)
- kill -HUP `pidof bonobo-activation-server` >/dev/null 2>&1 || true
- ;;
-
- abort-upgrade|abort-remove|abort-deconfigure)
-
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
- esac
-
- # Automatically added by dh_gconf
- if [ "$1" = "configure" ]; then
- gconf-schemas --register vino-server.schemas
- fi
- # End automatically added section
- # Automatically added by dh_desktop
- if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
- update-desktop-database -q
- fi
- # End automatically added section
- # Automatically added by dh_iconcache
- touch -m /usr/share/icons/hicolor
- if [ "$1" = configure ] && \
- [ -x "`which gtk-update-icon-cache 2>/dev/null`" ] && \
- [ -f /etc/gtk-2.0/gdk-pixbuf.loaders ] && \
- [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type d | wc -l`" -gt 0 ] && \
- [ "`find /usr/share/icons/hicolor -mindepth 1 -maxdepth 1 -type f -name index.theme | wc -l`" -eq 1 ]; then
- gtk-update-icon-cache -q /usr/share/icons/hicolor
- fi
- # End automatically added section
-
-
-