#!/bin/sh
# postinst script for config-tools-xfront
#
# 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)
    nameclt bind_new_context Yandex || true
    nameclt bind_new_context Yandex/Blogs  || true
    nameclt bind_new_context Yandex/DPS || true
    nameclt bind_new_context Yandex/Fotki || true
    nameclt -advanced rebind Yandex/Blogs/BloggerAux.id IOR:010000001f00000049444c3a59616e6465782f426c6f672f426c6f676765724175783a312e30000001000000000000007c000000010102000a0000006c6f63616c686f737400f48829000000ff426c6f6773417578696c69617279496d706c504f4100426c6f6773417578696c69617279496d706c0000000200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100 || true
    nameclt -advanced rebind Yandex/Blogs/Blogger.id IOR:010000001c00000049444c3a59616e6465782f426c6f672f426c6f676765723a312e3000010000000000000060000000010102000a0000006c6f63616c686f737400f3880e000000ff626c6f677300426c6f6767657200000200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100 || true
    nameclt -advanced rebind Yandex/DPS/Reader.id IOR:010000001a00000049444c3a59616e6465782f4450532f5265616465723a312e3000000001000000000000006800000001010200150000006470732e636f7262612e79616e6465782e6e657400004e710b000000ff44505300526561646572000200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100 || true
    nameclt -advanced rebind Yandex/DPS/NewEventChannel.id IOR:010000002500000049444c3a6f6d6e692f6f6d6e694576656e74732f4576656e744368616e6e656c3a312e300000000001000000000000007c00000001010200130000006470732e79616e6465782d7465616d2e72750000a12b00001d000000ff322e383332332e3462313738616466004576656e744368616e6e656c0000000200000000000000080000000100000000545441010000001c00000001000000010001000100000001000105090101000100000009010100 || true
    nameclt -advanced rebind Yandex/DPS/Cacher.id IOR:010000001c00000049444c3a59616e6465782f4450532f4c697374656e65723a312e3000010000000000000074000000010102001f000000796172752d66726f6e743031652e746f6f6c732e79616e6465782e6e65740000517100000b000000ff44505300436163686572000200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100 || true
    nameclt -advanced rebind Yandex/DPS/Latest.id IOR:010000001c00000049444c3a59616e6465782f4450532f4c697374656e65723a312e3000010000000000000074000000010102001f000000796172752d66726f6e743031652e746f6f6c732e79616e6465782e6e65740000537100000b000000ff445053004c6174657374000200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100 || true
    nameclt -advanced rebind Yandex/Fotki/Web.id IOR:010000001900000049444c3a59616e6465782f466f746b692f5765623a312e3000000000010000000000000088000000010102001b000000636f7262612d666f746b692e79616e6465782d7465616d2e72750000037d00001d0000004a432e466f746b692f666f746b69576562504f412f776562466f746b69000000020000000000000008000000000000004a41430001000000200000000000000005010001000000010001000105010001000000020001010900010100 || true
    nameclt -advanced rebind Yandex/Blogs/Api.id IOR:010000001800000049444c3a59616e6465782f426c6f672f4170693a312e300001000000000000006c000000010102000a0000006c6f63616c686f737400f48819000000ff41706953657276616e74504f410041706953657276616e740000000200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100 
    ;;

    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


