%PDF- %PDF-
Direktori : /var/lib/dpkg/info/ |
Current File : /var/lib/dpkg/info/tracker-extract.postinst |
#!/bin/sh # postinst script for tracker-extract # # 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) if dpkg --compare-versions "$2" le-nl "3.1.2-1~"; then deb-systemd-helper --user purge 'tracker-extract.service' >/dev/null || true deb-systemd-helper --user unmask 'tracker-extract.service' >/dev/null || true fi if dpkg --compare-versions "$2" le-nl "3.4.6-2"; then deb-systemd-helper --user purge 'tracker-extract-3.service' >/dev/null || true deb-systemd-helper --user unmask 'tracker-extract-3.service' >/dev/null || true fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # Automatically added by dh_installdeb/13.14.1ubuntu5 dpkg-maintscript-helper rm_conffile /etc/xdg/autostart/tracker-extract.desktop 3.1.2-1\~ -- "$@" # End automatically added section exit 0