~elementary-os/elementaryos/os-patch-mutter-bionic

« back to all changes in this revision

Viewing changes to debian/mutter.postinst

  • Committer: RabbitBot
  • Date: 2018-04-11 14:49:36 UTC
  • Revision ID: rabbitbot@elementary.io-20180411144936-hgymqa9d8d1xfpbh
Initial import, version 3.28.0-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
set -e
 
4
 
 
5
action="$1"
 
6
 
 
7
if [ "$action" = configure ]; then
 
8
    # register the alternatives of x-window-manager manually
 
9
    # because dh_installwm doesn't register manpage as slave yet.
 
10
    update-alternatives --install /usr/bin/x-window-manager \
 
11
        x-window-manager /usr/bin/mutter 60 \
 
12
        --slave /usr/share/man/man1/x-window-manager.1.gz \
 
13
        x-window-manager.1.gz /usr/share/man/man1/mutter.1.gz
 
14
fi
 
15
 
 
16
#DEBHELPER#