~didrocks/totem/ubuntu

« back to all changes in this revision

Viewing changes to debian/totem-flavor.postinst.in

  • Committer: Didier Roche
  • Date: 2009-01-06 16:54:42 UTC
  • Revision ID: didrocks@ubuntu.com-20090106165442-6kjg99vrbyiddwrg
init totem package in bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
set -e
 
3
 
 
4
FLAVOUR=@FLAVOUR@
 
5
PRIORITY=@PRIORITY@
 
6
NAUTILUS_EXTDIR=@NAUTILUS_EXTDIR@
 
7
 
 
8
if [ "$1" = configure ]; then
 
9
        update-alternatives --quiet --install \
 
10
                /usr/bin/gnome-video-thumbnailer gnome-video-thumbnailer \
 
11
                /usr/bin/totem-${FLAVOUR}-video-thumbnailer ${PRIORITY}
 
12
        update-alternatives --quiet --install \
 
13
                /usr/bin/totem totem /usr/bin/totem-${FLAVOUR} ${PRIORITY} \
 
14
                --slave /usr/bin/totem-audio-preview totem-audio-preview \
 
15
                        /usr/bin/totem-${FLAVOUR}-audio-preview \
 
16
                --slave /usr/bin/totem-video-indexer totem-video-indexer \
 
17
                        /usr/bin/totem-${FLAVOUR}-video-indexer \
 
18
                --slave ${NAUTILUS_EXTDIR}/libtotem-properties-page.so \
 
19
                        libtotem-properties-page.so \
 
20
                        ${NAUTILUS_EXTDIR}/libtotem-properties-page.so.${FLAVOUR} \
 
21
                --slave /usr/lib/totem/default totem-default.dir /usr/lib/totem/${FLAVOUR}
 
22
fi
 
23
 
 
24
#DEBHELPER#
 
25
 
 
26
exit 0